PHP Class debug
USO BASICO: en los controllers se puede usar como
$this->debug->log('datos','titulo')
y en el render aparece una box arriba diciendo 'titulo:datos' mas otra informacion de debug, como $_POST y $_GET
Mostra file
Open project: peej/phpdoctor
Class Usage Examples
Public Properties
Property |
Type |
Description |
|
$depth |
integer |
The depth of processing through the element hierarchy. |
|
Public Methods
Method |
Description |
|
classDoc ( &$classes ) |
Output classDoc |
|
constructorDoc ( &$constructor ) |
Output constructorDoc |
|
debug ( &$rootDoc, $formatter ) |
Doclet constructor. |
|
docComment ( &$programElement ) |
|
|
fieldDoc ( &$fields, $showAccess = FALSE ) |
Output fieldDoc |
|
methodDoc ( &$methods ) |
Output methodDoc |
|
showDepth ( ) : str |
Return the depth indicator string |
|
Method Details
constructorDoc()
public method
public debug ( &$rootDoc, $formatter ) |
public fieldDoc ( &$fields, $showAccess = FALSE ) |
methodDoc()
public method
showDepth()
public method
Return the depth indicator string
Property Details
$depth public_oe property
The depth of processing through the element hierarchy.