Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Primary class for communicating with the FirePHP Firefox Extension.
LOG = 'LOG'
Plain log style.
Details INFO = 'INFO'
Information style.
Details WARN = 'WARN'
Warning style.
Details ERROR = 'ERROR'
Error style that increments Firebug's error counter.
Details TRACE = 'TRACE'
Trace style showing message and expandable full stack trace.
Details EXCEPTION = 'EXCEPTION'
Exception style showing message and expandable full stack trace.
Also increments Firebug's error counter.
Details TABLE = 'TABLE'
Table style showing summary line and expandable table
Details DUMP = 'DUMP'
Dump variable to Server panel in Firebug Request Inspector
Details GROUP_START = 'GROUP_START'
Start a group in the Firebug Console
Details GROUP_END = 'GROUP_END'
End a group in the Firebug Console
Details PLUGIN_URI = 'http://meta.firephp.org/Wildfire/Plugin/ZendFramework/FirePHP/1.6.2'
The plugin URI for this plugin
Details PROTOCOL_URI = 'Zend_Wildfire_Protocol_JsonStream'
The protocol URI for this plugin
Details STRUCTURE_URI_DUMP = 'http://meta.firephp.org/Wildfire/Structure/FirePHP/Dump/0.1'
The structure URI for the Dump structure
Details STRUCTURE_URI_FIREBUGCONSOLE = 'http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1'
The structure URI for the Firebug Console structure
DetailsZend_Wildfire_Channel_Interface $_channel = 'null'The channel via which to send the encoded messages.
Detailsboolean $_enabled = 'true'Flag indicating whether FirePHP should send messages to the user-agent.
DetailsZend_Wildfire_Plugin_FirePhp $_instance = 'null'Singleton instance
Detailsarray $_messages = 'array'Messages that are buffered to be sent when protocol flushes
Detailsarray $_objectFilters = 'array'Filters used to exclude object members when encoding
Detailsarray $_objectStack = 'array'A stack of objects used during encoding to detect recursion
Detailsarray $_options = 'array'Options for the object
Details__construct(
)
:
voidConstructor
Details_encodeObject(
mixed $object, $objectDepth
=
1, $arrayDepth
=
1
)
:
arrayEncode an object by generating an array containing all object members.
All private and protected members are included. Some meta info about the object class is added.
Details_encodeTable(
$table
)
:
arrayEncodes a table by encoding each row and column with _encodeObject()
Details_encodeTrace(
$trace
)
:
arrayEncodes a trace by encoding all "args" with _encodeObject()
Details_getStackTrace(
array $options
)
:
arrayGets a stack trace
Details_recordMessage(
string $structure, array $data, boolean $skipEncode
=
false
)
:
booleanRecord a message with the given data in the given structure
DetailsdestroyInstance(
)
:
voidDestroys the singleton instance
Primarily used for testing.
DetailsflushMessages(
string $protocolUri
)
:
voidFlush any buffered data.
DetailsgetEnabled(
)
:
booleanDetermine if logging to user-agent is enabled.
DetailsgetInstance(
$skipCreate $skipCreate
=
false
)
:
Zend_Wildfire_Plugin_FirePhpGet or create singleton instance
DetailsgetOption(
string $key
)
:
mixedRetrieve a single option
DetailsgetOptions(
)
:
arrayRetrieve all options
DetailsgetUri(
)
:
stringGet the unique indentifier for this plugin.
Detailsgroup(
string $title
)
:
TRUEStarts a group in the Firebug Console
DetailsgroupEnd(
)
:
TRUEEnds a group in the Firebug Console
Detailsinit(
string $class
=
null
)
:
Zend_Wildfire_Plugin_FirePhpCreate singleton instance.
Detailssend(
mixed $var, string $label
=
null, string $style
=
null, array $options
=
array
)
:
booleanLogs variables to the Firebug Console via HTTP response headers and the FirePHP Firefox Extension.
DetailssetEnabled(
boolean $enabled
)
:
booleanEnable or disable sending of messages to user-agent.
If disabled all headers to be sent will be removed.
DetailssetObjectFilter(
$class, $filter
)
:
voidSpecify a filter to be used when encoding an object
Filters are used to exclude object members.
DetailssetOption(
string $key, mixed $value
)
:
mixedSet a single option
Details