kernel/private/rest/classes/debug/formatters/php_formatter.php
File containing ezpRestDebugPHPFormatter class
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
-
eZ Business Use License Agreement Version 2.0
- Package
- kernel
- Version
- 4.6.0
\ezpRestDebugPHPFormatter
Package: kernelFile containing ezpRestDebugPHPFormatter class
- Parent(s)
- ?\ezcDebugOutputFormatter
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
-
eZ Business Use License Agreement Version 2.0
- Version
- 4.6.0
Methods



addElement(
array $element, \ezcDebugTimerStruct $timeStruct
)
:
void
Prepares $element to contain $timeStruct information.
Parameters
Name |
Type |
Description |
$element |
array |
|
$timeStruct |
\ezcDebugTimerStruct |
|



formatStackTrace(
\ezcDebugStacktraceIterator $stackTrace
)
:
string
Returns a PHP array representation of the given $stackTrace.
Iterates through the given $stackTrace and returns an HTML formatted
string representation.
Parameters
Name |
Type |
Description |
$stackTrace |
\ezcDebugStacktraceIterator |
|
Returns



generateOutput(
array $writerData, \array(ezcDebugStructure) $timerData
)
:
string
Returns a string containing the formatted output based on $timerData and $writerData.
Parameters
Name |
Type |
Description |
$writerData |
array |
|
$timerData |
\array(ezcDebugStructure) |
|
Returns



getGroups(
\array(ezcDebugStructure) $timers
)
:
\array(ezcDebugStructure)
Returns the timer groups of the given $timers.
Parameters
Name |
Type |
Description |
$timers |
\array(ezcDebugStructure) |
|
Returns
Type |
Description |
\array(ezcDebugStructure) |
|



getLog(
array $writerData
)
:
array
Returns a PHP array containing the output based on $writerData.
Parameters
Name |
Type |
Description |
$writerData |
array |
|
Returns



getTimingsAccumulator(
\array(ezcDebugStructure) $timerData
)
:
\array(stdClass)
Returns a PHP array containing stdClass objects, based on $timerData.
Parameters
Name |
Type |
Description |
$timerData |
\array(ezcDebugStructure) |
|
Returns
Type |
Description |
\array(stdClass) |
|