| [ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 386 lignes (9 kb) |
| Inclus ou requis: | 1 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
sfParameterHolder:: (11 méthodes):
__construct()
getDefaultNamespace()
clear()
getNames()
getNamespaces()
has()
hasNamespace()
set()
setByRef()
add()
addByRef()
Classe: sfParameterHolder - X-Ref
sfParameterHolder provides a base class for managing parameters.| __construct($namespace = 'symfony/default') X-Ref |
| The constructor for sfParameterHolder. The default namespace may be overridden at initialization as follows: <code> <?php $mySpecialPH = new sfParameterHolder('symfony/special'); ?> </code> |
| getDefaultNamespace() X-Ref |
| Get the default namespace value. The $default_namespace is defined as 'symfony/default'. return: string The default namespace. |
| clear() X-Ref |
| Clear all parameters associated with this request. return: void |
| getNames($ns = null) X-Ref |
| Pas de description |
| getNamespaces() X-Ref |
| Retrieve an array of parameter namespaces. return: array An indexed array of parameter namespaces. |
| has($name, $ns = null) X-Ref |
| Pas de description |
| hasNamespace($ns) X-Ref |
| Indicates whether or not A parameter namespace exists. param: string A parameter namespace. return: bool true, if the namespace exists, otherwise false. |
| set($name, $value, $ns = null) X-Ref |
| Pas de description |
| setByRef($name, & $value, $ns = null) X-Ref |
| Set a parameter by reference. If a parameter with the name already exists the value will be overridden. param: string A parameter name. param: mixed A reference to a parameter value. param: string A parameter namespace. return: void |
| add($parameters, $ns = null) X-Ref |
| Set an array of parameters. If an existing parameter name matches any of the keys in the supplied array, the associated value will be overridden. param: array An associative array of parameters and their associated values. param: string A parameter namespace. return: void |
| addByRef(& $parameters, $ns = null) X-Ref |
| Set an array of parameters by reference. If an existing parameter name matches any of the keys in the supplied array, the associated value will be overridden. param: array An associative array of parameters and references to their associated values. param: string A parameter namespace. return: void |
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |