eZPublishCommunityProject(LegacyStack)  2013.6
ezpRestDebugPHPFormatter Class Reference
+ Inheritance diagram for ezpRestDebugPHPFormatter:
+ Collaboration diagram for ezpRestDebugPHPFormatter:

Public Member Functions

 __construct ()
 Constructor. More...
 
 formatStackTrace (ezcDebugStacktraceIterator $stackTrace)
 Returns a PHP array representation of the given $stackTrace. More...
 
 generateOutput (array $writerData, array $timerData)
 Returns a string containing the formatted output based on $timerData and $writerData. More...
 
 getLog (array $writerData)
 Returns a PHP array containing the output based on $writerData. More...
 
 getTimingsAccumulator (array $timerData)
 Returns a PHP array containing stdClass objects, based on $timerData. More...
 

Private Member Functions

 addElement (&$element, $timeStruct)
 Prepares $element to contain $timeStruct information. More...
 
 getGroups (array $timers)
 Returns the timer groups of the given $timers. More...
 

Constructor & Destructor Documentation

ezpRestDebugPHPFormatter::__construct ( )

Constructor.

Member Function Documentation

ezpRestDebugPHPFormatter::addElement ( $element,
  $timeStruct 
)
private

Prepares $element to contain $timeStruct information.

Parameters
array$element
ezcDebugTimerStruct$timeStruct

Referenced by getGroups().

ezpRestDebugPHPFormatter::formatStackTrace ( ezcDebugStacktraceIterator  $stackTrace)

Returns a PHP array representation of the given $stackTrace.

Iterates through the given $stackTrace and returns an HTML formatted string representation.

Parameters
ezcDebugStacktraceIterator$stackTrace
Returns
string

Referenced by getLog().

ezpRestDebugPHPFormatter::generateOutput ( array  $writerData,
array  $timerData 
)

Returns a string containing the formatted output based on $timerData and $writerData.

Parameters
array(ezcDebugStructure)$timerData
array$writerData
Returns
string
ezpRestDebugPHPFormatter::getGroups ( array  $timers)
private

Returns the timer groups of the given $timers.

Parameters
array(ezcDebugStructure)$timers
Returns
array(ezcDebugStructure)

Referenced by getTimingsAccumulator().

ezpRestDebugPHPFormatter::getLog ( array  $writerData)

Returns a PHP array containing the output based on $writerData.

Parameters
array$writerData
Returns
array

Referenced by generateOutput().

ezpRestDebugPHPFormatter::getTimingsAccumulator ( array  $timerData)

Returns a PHP array containing stdClass objects, based on $timerData.

Parameters
array(ezcDebugStructure)$timerData
Returns
array(stdClass)

Referenced by generateOutput().


The documentation for this class was generated from the following file: