| Elgg
    Version 1.9
    | 
 
 | Public Member Functions | |
| __construct (array $parameters=array()) | |
| Constructor.  More... | |
| all () | |
| Returns the parameters.  More... | |
| keys () | |
| Returns the parameter keys.  More... | |
| replace (array $parameters=array()) | |
| Replaces the current parameters by a new set.  More... | |
| add (array $parameters=array()) | |
| Adds parameters.  More... | |
| get ($path, $default=null, $deep=false) | |
| Returns a parameter by name.  More... | |
| set ($key, $value) | |
| Sets a parameter by name.  More... | |
| has ($key) | |
| Returns true if the parameter is defined.  More... | |
| remove ($key) | |
| Removes a parameter.  More... | |
| getAlpha ($key, $default='', $deep=false) | |
| Returns the alphabetic characters of the parameter value.  More... | |
| getAlnum ($key, $default='', $deep=false) | |
| Returns the alphabetic characters and digits of the parameter value.  More... | |
| getDigits ($key, $default='', $deep=false) | |
| Returns the digits of the parameter value.  More... | |
| getInt ($key, $default=0, $deep=false) | |
| Returns the parameter value converted to integer.  More... | |
| filter ($key, $default=null, $deep=false, $filter=FILTER_DEFAULT, $options=array()) | |
| Filter key.  More... | |
| getIterator () | |
| Returns an iterator for parameters.  More... | |
| count () | |
| Returns the number of parameters.  More... | |
| Protected Attributes | |
| $parameters | |
Definition at line 35 of file ParameterBag.php.
| Elgg_Http_ParameterBag::__construct | ( | array | $parameters = array() | ) | 
Constructor.
| array | $parameters | An array of parameters | 
Definition at line 49 of file ParameterBag.php.
| Elgg_Http_ParameterBag::add | ( | array | $parameters = array() | ) | 
Adds parameters.
| array | $parameters | An array of parameters | 
Definition at line 87 of file ParameterBag.php.
| Elgg_Http_ParameterBag::all | ( | ) | 
Returns the parameters.
Definition at line 58 of file ParameterBag.php.
| Elgg_Http_ParameterBag::count | ( | ) | 
Returns the number of parameters.
Definition at line 279 of file ParameterBag.php.
| Elgg_Http_ParameterBag::filter | ( | $key, | |
| $default = null, | |||
| $deep = false, | |||
| $filter = FILTER_DEFAULT, | |||
| $options = array() | |||
| ) | 
Filter key.
| string | $key | Key. | 
| mixed | $default | Default = null. | 
| boolean | $deep | Default = false. | 
| integer | $filter | FILTER_* constant. | 
| mixed | $options | Filter options. | 
Definition at line 249 of file ParameterBag.php.
| Elgg_Http_ParameterBag::get | ( | $path, | |
| $default = null, | |||
| $deep = false | |||
| ) | 
Returns a parameter by name.
| string | $path | The key | 
| mixed | $default | The default value if the parameter key does not exist | 
| boolean | $deep | If true, a path like foo[bar] will find deeper items | 
| InvalidArgumentException | 
Definition at line 103 of file ParameterBag.php.
| Elgg_Http_ParameterBag::getAlnum | ( | $key, | |
| $default = '', | |||
| $deep = false | |||
| ) | 
Returns the alphabetic characters and digits of the parameter value.
| string | $key | The parameter key | 
| mixed | $default | The default value if the parameter key does not exist | 
| boolean | $deep | If true, a path like foo[bar] will find deeper items | 
Definition at line 205 of file ParameterBag.php.
| Elgg_Http_ParameterBag::getAlpha | ( | $key, | |
| $default = '', | |||
| $deep = false | |||
| ) | 
Returns the alphabetic characters of the parameter value.
| string | $key | The parameter key | 
| mixed | $default | The default value if the parameter key does not exist | 
| boolean | $deep | If true, a path like foo[bar] will find deeper items | 
Definition at line 192 of file ParameterBag.php.
| Elgg_Http_ParameterBag::getDigits | ( | $key, | |
| $default = '', | |||
| $deep = false | |||
| ) | 
Returns the digits of the parameter value.
| string | $key | The parameter key | 
| mixed | $default | The default value if the parameter key does not exist | 
| boolean | $deep | If true, a path like foo[bar] will find deeper items | 
Definition at line 218 of file ParameterBag.php.
| Elgg_Http_ParameterBag::getInt | ( | $key, | |
| $default = 0, | |||
| $deep = false | |||
| ) | 
Returns the parameter value converted to integer.
| string | $key | The parameter key | 
| mixed | $default | The default value if the parameter key does not exist | 
| boolean | $deep | If true, a path like foo[bar] will find deeper items | 
Definition at line 232 of file ParameterBag.php.
| Elgg_Http_ParameterBag::getIterator | ( | ) | 
Returns an iterator for parameters.
Definition at line 270 of file ParameterBag.php.
| Elgg_Http_ParameterBag::has | ( | $key | ) | 
Returns true if the parameter is defined.
| string | $key | The key | 
Definition at line 169 of file ParameterBag.php.
| Elgg_Http_ParameterBag::keys | ( | ) | 
Returns the parameter keys.
Definition at line 67 of file ParameterBag.php.
| Elgg_Http_ParameterBag::remove | ( | $key | ) | 
Removes a parameter.
| string | $key | The key | 
Definition at line 179 of file ParameterBag.php.
| Elgg_Http_ParameterBag::replace | ( | array | $parameters = array() | ) | 
Replaces the current parameters by a new set.
| array | $parameters | An array of parameters | 
Definition at line 77 of file ParameterBag.php.
| Elgg_Http_ParameterBag::set | ( | $key, | |
| $value | |||
| ) | 
Sets a parameter by name.
| string | $key | The key | 
| mixed | $value | The value | 
Definition at line 158 of file ParameterBag.php.
| 
 | protected | 
Definition at line 42 of file ParameterBag.php.