Function FB->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?: Yes
  • 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 or 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 or members to exclude
 * @return void
 */

public static function setObjectFilter($class, $filter)