|
Previous Class |
Solar_Access_Adapter |
Next Page |
Solar_Access_Adapter
Abstract adapter for reading access privileges.
Catalog
This class is part of the Solar_Access package.
Inheritance:
- Solar_Base
- Solar_Access_Adapter
Constants
None.
Public Properties
These are all the public properties in the Solar_Access_Adapter class.
You can also view the list of all public, protected, and private properties.
$list- The access list for a handle and roles.
Public Methods
These are all the public methods in the Solar_Access_Adapter class.
You can also view the list of all public, protected, and private methods.
__construct()- Constructor.
__destruct()- Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
apiVersion()- Reports the API version for this class.
dump()- Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
fetch()- Fetch access privileges for a user handle and roles.
isAllowed()- Tells whether or not to allow access to a class/action/process combination.
isOwner()- Checks to see if the current user is the owner of application-specific content.
load()- Fetches the access list from the adapter into $this->list.
locale()- Looks up class-specific locale strings based on a key.
reset()- Resets the current access controls to a blank array, along with the $_auth and $_role properties.