diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-13 11:48:42 -0700 | 
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-13 11:48:42 -0700 | 
| commit | d9720b77e9c4455df3e3237c285ad5a33afdd591 (patch) | |
| tree | 2d2d7f918b9e7af7d312d7bc08f05fce0e4c528f /modules/gallery/libraries/drivers | |
| parent | 4dd6e4cc4c3353b36a5c69a845ad879ddf085d2f (diff) | |
| parent | 53393a144609c0d8402b14606f52422bf3f28daf (diff) | |
Merge branch 'master' into talmdal_dev
Conflicts:
	modules/gallery/controllers/admin_users.php
	modules/gallery/controllers/password.php
	modules/gallery/helpers/group.php
	modules/gallery/helpers/user.php
	modules/notification/helpers/notification.php
Diffstat (limited to 'modules/gallery/libraries/drivers')
| -rw-r--r-- | modules/gallery/libraries/drivers/Identity.php | 28 | 
1 files changed, 4 insertions, 24 deletions
| diff --git a/modules/gallery/libraries/drivers/Identity.php b/modules/gallery/libraries/drivers/Identity.php index a92958c7..ca80aad5 100644 --- a/modules/gallery/libraries/drivers/Identity.php +++ b/modules/gallery/libraries/drivers/Identity.php @@ -52,15 +52,9 @@ interface Identity_Driver {     * @return string hashed password     */    public function hash_password($password); -  /** -   * Look up a user by id. -   * @param integer      $id the user id -   * @return User_Core  the user object, or null if the id was invalid. -   */ -  public function lookup_user($id);    /** -   * Look up a user by name. +   * Look up a user by by search the specified field.     * @param string      search field     * @param string      search value     * @return User_Core  the user object, or null if the name was invalid. @@ -90,34 +84,20 @@ interface Identity_Driver {    public function registered_users();    /** -   * Look up a group by id. -   * @param integer      $id the user id -   * @return Group_Model  the group object, or null if the id was invalid. -   */ -  public function lookup_group($id); - -  /** -   * Look up a group by name. -   * @param integer      $id the group name -   * @return Group_Model  the group object, or null if the name was invalid. -   */ -  public function lookup_group_by_name($name); - -  /**     * List the users     * @param mixed      options to apply to the selection of the user     *                   @todo Do a longer write up on format of filters (@see Database.php)     * @return array     the group list.     */ -  public function list_users($filter=array()); +  public function get_user_list($filter=array());    /**     * List the groups -   * @param mixed      options to apply to the selection of the user +   * @param mixed      options to apply to the selection of the group     *                   @todo Do a longer write up on format of filters (@see Database.php)     * @return array     the group list.     */ -  public function list_groups($filter=array()); +  public function get_group_list($filter=array());    /**     * Return the edit rules associated with an group. | 
