-
Retrieves an array of parameters.
returns An associative array of parameters
-
| $parameters |
An associative array of parameters and their associated values |
Sets an array of parameters.
If an existing parameter name matches any of the keys in the supplied
array, the associated value will be overridden.
-
addByRef ($parameters)
Browse code
| $parameters |
An associative array of parameters and references to their associated values |
Sets 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.
-
Clears all parameters associated with this request.
-
Retrieves an array of parameter names.
returns An indexed array of parameter names
-
Indicates whether or not a parameter exists.
returns true, if the parameter exists, otherwise false
-
(string) remove ($name, $default)
Browse code
| $name |
A parameter name |
| $default |
A default parameter value |
Remove a parameter.
returns A parameter value, if the parameter was removed, otherwise null
-
Serializes the current instance.
returns Objects instance
-
| $name |
A parameter name |
| $value |
A parameter value |
Sets a parameter.
If a parameter with the name already exists the value will be overridden.
-
setByRef ($name, $value)
Browse code
| $name |
A parameter name |
| $value |
A reference to a parameter value |
Sets a parameter by reference.
If a parameter with the name already exists the value will be overridden.
-
unserialize ($serialized)
Browse code
| $serialized |
A serialized sfParameterHolder instance |
Unserializes a sfParameterHolder instance.
-
The constructor for sfParameterHolder.