kernel/private/rest/classes/debug/formatters/php_formatter.php

Show: inherited
Table of Contents

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: kernel

File 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

methodpublic__construct( ) : void

Constructor

methodprivateaddElement( array $element, \ezcDebugTimerStruct $timeStruct ) : void

Prepares $element to contain $timeStruct information.

Parameters
Name Type Description
$element array
$timeStruct \ezcDebugTimerStruct
methodpublicformatStackTrace( \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
Type Description
string
methodpublicgenerateOutput( 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
Type Description
string
methodprivategetGroups( \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)
methodpublicgetLog( array $writerData ) : array

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

Parameters
Name Type Description
$writerData array
Returns
Type Description
array
methodpublicgetTimingsAccumulator( \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)
Documentation was generated by DocBlox 0.18.1.