Function FirePHP->setOptions
Definitions
sources/firephp.php
- Set some options for the libraryOptions:- maxDepth: The maximum depth to traverse (default: 10)- maxObjectDepth: The maximum depth to traverse objects (default: 5)- maxArrayDepth: The maximum depth to traverse arrays (default: 5)- useNativeJsonEncode: If true will use json_encode() (default: true)- includeLineNumbers: If true will include line numbers and filenames (default: true)
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$options | array | No | No | required parameter | N/A | N/A | The options to be set |
Returns
- Type: void
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Set some options for the libraryOptions:- maxDepth: The maximum depth to traverse (default: 10)- maxObjectDepth: The maximum depth to traverse objects (default: 5)- maxArrayDepth: The maximum depth to traverse arrays (default: 5)- useNativeJsonEncode: If true will use json_encode() (default: true)- includeLineNumbers: If true will include line numbers and filenames (default: true)
*
* @param array $options The options to be set
* @return void
*/
public function setOptions($options)
* Set some options for the libraryOptions:- maxDepth: The maximum depth to traverse (default: 10)- maxObjectDepth: The maximum depth to traverse objects (default: 5)- maxArrayDepth: The maximum depth to traverse arrays (default: 5)- useNativeJsonEncode: If true will use json_encode() (default: true)- includeLineNumbers: If true will include line numbers and filenames (default: true)
*
* @param array $options The options to be set
* @return void
*/
public function setOptions($options)