Function FirePHP->setObjectFilter
Definitions
sources/firephp.php
- Specify a filter to be used when encoding an objectFilters are used to exclude object members.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$class | string | No | No | required parameter | N/A | N/A | The class name of the object |
$filter | array | No | No | required parameter | N/A | N/A | An array of members to exclude |
Returns
- Type: void
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Specify a filter to be used when encoding an objectFilters are used to exclude object members.
*
* @param string $class The class name of the object
* @param array $filter An array of members to exclude
* @return void
*/
public function setObjectFilter($class, $filter)
* Specify a filter to be used when encoding an objectFilters are used to exclude object members.
*
* @param string $class The class name of the object
* @param array $filter An array of members to exclude
* @return void
*/
public function setObjectFilter($class, $filter)