ILIAS
Release_4_0_x_branch Revision 61816
|
Registry object that contains information about the current context. More...
Public Member Functions | |
register ($name, &$ref) | |
Registers a variable into the context. | |
& | get ($name, $ignore_error=false) |
Retrieves a variable reference from the context. | |
destroy ($name) | |
Destorys a variable in the context. | |
exists ($name) | |
Checks whether or not the variable exists. | |
loadArray ($context_array) | |
Loads a series of variables from an associative array. |
Private Attributes | |
$_storage = array() | |
Private array that stores the references. |
Registry object that contains information about the current context.
Definition at line 10 of file Context.php.
HTMLPurifier_Context::destroy | ( | $name | ) |
Destorys a variable in the context.
$name | String name |
Definition at line 53 of file Context.php.
References $name.
HTMLPurifier_Context::exists | ( | $name | ) |
Checks whether or not the variable exists.
$name | String name |
Definition at line 66 of file Context.php.
References $name.
& HTMLPurifier_Context::get | ( | $name, | |
$ignore_error = false |
|||
) |
Retrieves a variable reference from the context.
$name | String name |
$ignore_error | Boolean whether or not to ignore error |
Definition at line 37 of file Context.php.
References $name.
HTMLPurifier_Context::loadArray | ( | $context_array | ) |
HTMLPurifier_Context::register | ( | $name, | |
& | $ref | ||
) |
Registers a variable into the context.
$name | String name |
$ref | Reference to variable to be registered |
Definition at line 23 of file Context.php.
References $name.
|
private |
Private array that stores the references.
Definition at line 16 of file Context.php.