![]() |
XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Fonctions membres publiques | |
| register ($name, &$ref) | |
| & | get ($name, $ignore_error=false) |
| destroy ($name) | |
| exists ($name) | |
| loadArray ($context_array) | |
Attributs privés | |
| $_storage = array() | |
Registry object that contains information about the current context.
| destroy | ( | $name | ) |
Destroys a variable in the context.
| string | $name | String name |
| exists | ( | $name | ) |
Checks whether or not the variable exists.
| string | $name | String name |
| & 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 |
| loadArray | ( | $context_array | ) |
Loads a series of variables from an associative array
| array | $context_array | Assoc array of variables to load |
| register | ( | $name, | |
| & | $ref | ||
| ) |
Registers a variable into the context.
| string | $name | String name |
| mixed | $ref | Reference to variable to be registered |
|
private |
Private array that stores the references. @type array