|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Registry object that contains information about the current context. More...
Collaboration diagram for HTMLPurifier_Context:Public Member Functions | |
| register ($name, &$ref) | |
| Registers a variable into the context. More... | |
| & | get ($name, $ignore_error=false) |
| Retrieves a variable reference from the context. More... | |
| destroy ($name) | |
| Destroys a variable in the context. More... | |
| exists ($name) | |
| Checks whether or not the variable exists. More... | |
| loadArray ($context_array) | |
| Loads a series of variables from an associative array. More... | |
Private Attributes | |
| $_storage = array() | |
| Private array that stores the references. More... | |
Registry object that contains information about the current context.
Definition at line 10 of file Context.php.
| HTMLPurifier_Context::destroy | ( | $name | ) |
Destroys a variable in the context.
| string | $name | String name |
Definition at line 61 of file Context.php.
References $name.
| HTMLPurifier_Context::exists | ( | $name | ) |
Checks whether or not the variable exists.
| string | $name | String name |
Definition at line 78 of file Context.php.
References $name.
| & HTMLPurifier_Context::get | ( | $name, | |
$ignore_error = false |
|||
| ) |
Retrieves a variable reference from the context.
| string | $name | String name |
| bool | $ignore_error | Boolean whether or not to ignore error |
Definition at line 42 of file Context.php.
References $name.
| HTMLPurifier_Context::loadArray | ( | $context_array | ) |
Loads a series of variables from an associative array.
| array | $context_array | Assoc array of variables to load |
Definition at line 87 of file Context.php.
References $key.
| HTMLPurifier_Context::register | ( | $name, | |
| & | $ref | ||
| ) |
Registers a variable into the context.
| string | $name | String name |
| mixed | $ref | Reference to variable to be registered |
Definition at line 24 of file Context.php.
References $name.
|
private |