boolean addErrorLog(
Log
&$log)
|
|
Add error logger for use by Errorstack.
Be aware that if you need add a log at the beginning of your code if you want it to be effective. A log will only be taken into account after it's added.
Sample usage:
$logger = &Log::factory('mail', 'bug@example.com',
'myapp_debug_mail_log', array('from' => 'application_bug@example.com'));
Parameters:
boolean &setAdminAuthContainer(
string
$authName)
|
|
Sets the current auth container to the one with the given auth container name
Upon success it will return true. You can then access the auth backend container by using the auth property of this class.
e.g.: $admin->auth->addUser();
Parameters:
boolean setAdminContainers(
[mixed
$authUserId = null], [string
$authName = null])
|
|
Tries to find a user in any of the auth container.
Upon success it will return true. You can then access the backend container by using the auth and perm properties of this class.
e.g.: $admin->perm->updateAuthUserId();
Parameters:
boolean &setAdminPermContainer(
)
|
|
Sets the perm container
Upon success it will return true. You can then access the perm backend container by using the perm properties of this class.
e.g.: $admin->perm->addUser();