diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-21 11:49:42 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-21 11:49:42 -0700 |
commit | f04177f138df71e6317073b12b754a1c32d0c523 (patch) | |
tree | 2fa6007578349c04ef7af6fcc30502323a2ad7a2 /modules/gallery/libraries/drivers | |
parent | 182c8414a1535f7f141ebca350a2b79d0d4a63ff (diff) |
re-add the lookup_group_by_name API Method.
Diffstat (limited to 'modules/gallery/libraries/drivers')
-rw-r--r-- | modules/gallery/libraries/drivers/Identity.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/modules/gallery/libraries/drivers/Identity.php b/modules/gallery/libraries/drivers/Identity.php index 5b35d49b..39b2a9c7 100644 --- a/modules/gallery/libraries/drivers/Identity.php +++ b/modules/gallery/libraries/drivers/Identity.php @@ -102,12 +102,19 @@ interface Identity_Driver { * @param integer id * @return Group_Definition the user object, or null if the name was invalid. */ - static function lookup_group($id); + public function lookup_group($id); + + /** + * Look up the group by name. + * @param string $name the name of the group to locate + * @return Group_Definition + */ + public function lookup_group_by_name($name); /** * List the groups defined in the Identity Provider */ - static function groups(); + public function groups(); } // End Identity Driver Definition |