* finish task#893.

This commit is contained in:
chencongzhi520@gmail.com
2012-08-29 07:17:59 +00:00
parent 5e459eb832
commit ab0708f3fa
18 changed files with 188 additions and 144 deletions
+13
View File
@@ -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.
*