Holds the statuses returned from each authentication filter.
Source for this file: /Authentication/src/status/authentication_status.php
Version: | //autogen// |
public void |
append(
$class
, $status
)
Adds a new status to the list of statuses. |
public array(string=>mixed) |
get(
)
Returns the list of authentication statuses. |
Adds a new status to the list of statuses.
Name | Type | Description |
---|---|---|
$class |
string | The class name associated with the status |
$status |
mixed|array(mixed) | A status associated with the class name |
Returns the list of authentication statuses.
The format of the returned array is array( class => code ).
Example: