Methods

All methods in the Solar_Access_Adapter class.

Public

__construct()

Constructor.

__destruct()

Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().

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 a particular object.

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.

Protected

_buildConfig()

Builds and returns the default config for a class, including all configs inherited from its parents.

_exception()

Convenience method for returning exceptions with localized text.

_postConfig()

A hook that activates after _buildConfig() in the constructor.

_postConstruct()

Post-construct hook to retain owner-method values.

_preConfig()

A hook that activates before _buildConfig() in the constructor.

Private

None.



Local