diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-05 17:08:27 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-10-05 17:08:27 -0700 |
| commit | ca17727478b44b8bec6bb7f8ed1c8c688818b8f6 (patch) | |
| tree | 7e2318f601f593974957a32ae6e0460a2ef79676 /modules/gallery/libraries/Identity.php | |
| parent | 194cc3b27a73afe5119da9f09407c1e068dc6fa3 (diff) | |
Access the form validation rules via the API for groups and users
Diffstat (limited to 'modules/gallery/libraries/Identity.php')
| -rw-r--r-- | modules/gallery/libraries/Identity.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/gallery/libraries/Identity.php b/modules/gallery/libraries/Identity.php index 41c25b39..5e6f4217 100644 --- a/modules/gallery/libraries/Identity.php +++ b/modules/gallery/libraries/Identity.php @@ -217,4 +217,14 @@ class Identity_Core { public function list_groups($filter=array()) { return $this->driver->list_groups($filter); } + + /** + * Return the edit rules associated with an group. + * + * @param string $object_type to return rules for ("user"|"group") + * @return stdClass containing the rules + */ + public function get_edit_rules($object_type) { + return $this->driver->get_edit_rules($object_type); + } } // End Identity |
