PHP Класс 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
Показать файл
Открыть проект
Примеры использования класса
Открытые свойства
Свойство |
Тип |
Описание |
|
$depth |
integer |
The depth of processing through the element hierarchy. |
|
Открытые методы
Метод |
Описание |
|
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 |
|
Описание методов
classDoc()
публичный Метод
constructorDoc()
публичный Метод
public debug ( &$rootDoc, $formatter ) |
fieldDoc()
публичный Метод
public fieldDoc ( &$fields, $showAccess = FALSE ) |
methodDoc()
публичный Метод
showDepth()
публичный Метод
Return the depth indicator string
Описание свойств
$depth публичное свойство
The depth of processing through the element hierarchy.
public int $depth |
Результат |
integer |
|