VERSION
VERSION = '0.3' : string
FirePHP version
Sends the given data to the FirePHP Firefox Extension.
The data can be displayed in the Firebug Console or in the "Server" request tab.
For more information see: http://www.firephp.org/
$instance : \Behavior\FirePHP
Singleton instance of FirePHP
getInstance(boolean $AutoCreate = false) : \Behavior\FirePHP
Gets singleton instance of FirePHP
boolean | $AutoCreate |
init() : \Behavior\FirePHP
Creates FirePHP object and stores it for singleton access
setInstance(\Behavior\FirePHP $instance) : \Behavior\FirePHP
Set the instance of the FirePHP singleton
\Behavior\FirePHP | $instance | The FirePHP object instance |
setOptions(array $Options) : void
Set some options for the library
Options:
array | $Options | The options to be set |
registerAssertionHandler(boolean $convertAssertionErrorsToExceptions = true, boolean $throwAssertionExceptions = false) : mixed
Register FirePHP driver as your assert callback
boolean | $convertAssertionErrorsToExceptions | |
boolean | $throwAssertionExceptions |
Returns the original setting or FALSE on errors
None found |
_standardizePath(string $Path) : string
Standardizes path for windows systems.
string | $Path |
None found |
_escapeTrace(array $Trace) : array
Escape trace path for windows systems
array | $Trace |
None found |
_escapeTraceFile(string $File) : string
Escape file information of trace for windows systems
string | $File |
None found |
headersSent(string $Filename, integer $Linenum)
Check if headers have already been sent
string | $Filename | |
integer | $Linenum |
None found |
setHeader(string $Name, string $Value)
Send header
string | $Name | |
string | $Value |
None found |
None found |
getRequestHeader( $Name) : string|false
Get a request header
$Name |
None found |
newException(string $Message) : \Behavior\Exception
Returns a new exception
string | $Message |
None found |
encodeTable(array $Table) : array
Encodes a table by encoding each row and column with encodeObject()
array | $Table | The table to be encoded |
None found |
encodeObject(Object $Object, $ObjectDepth = 1, $ArrayDepth = 1, $MaxDepth = 1) : array
Encodes an object including members with protected and private visibility
Object | $Object | The object to be encoded |
$ObjectDepth | ||
$ArrayDepth | ||
$MaxDepth |
All members of the object
None found |
is_utf8(mixed $str) : boolean
Returns true if $string is valid UTF-8 and false otherwise.
mixed | $str | String to be tested |
None found |
json_utf82utf16(string $utf8) : string
convert a string from one UTF-8 char to one UTF-16 char
Normally should be handled by mb_convert_encoding, but provides a slower PHP-only method for installations that lack the multibye string extension.
string | $utf8 | UTF-8 character |
UTF-16 character
None found |
json_encode(mixed $var) : mixed
encodes an arbitrary variable into JSON format
mixed | $var | any number, boolean, string, array, or object to be encoded. see argument 1 to Services_JSON() above for array-parsing behavior. if var is a strng, note that encode() always expects it to be in ASCII or UTF-8 format! |
JSON string representation of input var or an error if a problem occurs
None found |
json_name_value(string $name, mixed $value) : string
array-walking function for use in generating JSON-formatted name-value pairs
string | $name | name of key to use |
mixed | $value | reference to an array element to be encoded |
JSON-formatted name-value pair, like '"name":value'
None found |