Interface Xyster_Acl_Role_Provider_Interface

Description

Interface for combining authentication and authorization

If desired, there shouldn't be any problem with the Role_Provider caching or persisting the Roles it creates, but this is left up to the implementor.

  • copyright: Copyright (c) 2007-2008 Irrational Logic (http://irrationallogic.net)
  • license: New BSD License

Located in /Acl/Role/Provider/Interface.php (line 27)


	
			
Method Summary
Zend_Acl_Role_Interface getRole (mixed $identity)
array getRoleParents ( $role)
Methods
getRole (line 35)

Gets a Zend_Acl_Role_Interface based on the identity provided

  • return: The role to which this identity corresponds
Zend_Acl_Role_Interface getRole (mixed $identity)
  • mixed $identity: An identity as provided by Zend_Auth
getRoleParents (line 43)

Gets the parent roles for the provided role

  • return: An array of Zend_Acl_Role_Interface objects
array getRoleParents ( $role)
  • Zend_Acl_Role_Interface $role

Documentation generated on Mon, 19 May 2008 17:07:24 -0400 by phpDocumentor 1.4.2