* finish task#893.
This commit is contained in:
@@ -32,6 +32,19 @@ class userModel extends model
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Set users list.
|
||||
*
|
||||
* @param array $users
|
||||
* @param string $account
|
||||
* @access public
|
||||
* @return html
|
||||
*/
|
||||
public function setUserList($users, $account)
|
||||
{
|
||||
return html::select('account', $users, $account, "onchange=\"switchAccount(this.value, '{$this->app->getMethodName()}')\"");
|
||||
}
|
||||
|
||||
/**
|
||||
* Get users list of current company.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user