PHP Класс ZFDebug_Controller_Plugin_Debug

Наследование: extends Zend_Controller_Plugin_Abstract
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$standardPlugins array Standard plugins

Защищенные свойства (Protected)

Свойство Тип Описание
$_closingBracket Creates a new instance of the Debug Bar
$_options Contains options to change Debug Bar behavior
$_plugins array Contains registered plugins
$_version string Debug Bar Version Number for internal use only

Открытые методы

Метод Описание
__construct ( $options = null )
dispatchLoopShutdown ( ) Defined by Zend_Controller_Plugin_Abstract
getClosingBracket ( )
getLinebreak ( )
getLogger ( ) : Zend_Log Get the ZFDebug logger
getPlugin ( string $identifier ) : ZFDebug_Controller_Plugin_Debug_Plugin_Interface Get a registered plugin in the Debug Bar
registerPlugin ( ZFDebug_Controller_Plugin_Debug_Plugin_Interface $plugin ) : ZFDebug_Controller_Plugin_Debug Register a new plugin in the Debug Bar
setOptions ( array $options = [] ) : ZFDebug_Controller_Plugin_Debug Sets options of the Debug Bar
unregisterPlugin ( string $plugin ) : ZFDebug_Controller_Plugin_Debug Unregister a plugin in the Debug Bar

Защищенные методы

Метод Описание
_getVersionPanel ( ) : string Returns version panel
_getVersionTab ( ) : string Return version tab
_headerOutput ( ) : string Returns html header for the Debug Bar
_icon ( $kind ) : string Returns path to the specific icon
_isXhtml ( )
_loadPlugins ( ) : void; Load plugins set in config option
_output ( string $html ) : void Appends Debug Bar html output to the original page

Описание методов

__construct() публичный Метод

public __construct ( $options = null )

_getVersionPanel() защищенный Метод

Returns version panel
protected _getVersionPanel ( ) : string
Результат string

_getVersionTab() защищенный Метод

Return version tab
protected _getVersionTab ( ) : string
Результат string

_headerOutput() защищенный Метод

Returns html header for the Debug Bar
protected _headerOutput ( ) : string
Результат string

_icon() защищенный Метод

Returns path to the specific icon
protected _icon ( $kind ) : string
Результат string

_isXhtml() защищенный Метод

protected _isXhtml ( )

_loadPlugins() защищенный Метод

Load plugins set in config option
protected _loadPlugins ( ) : void;
Результат void;

_output() защищенный Метод

Appends Debug Bar html output to the original page
protected _output ( string $html ) : void
$html string
Результат void

dispatchLoopShutdown() публичный Метод

Defined by Zend_Controller_Plugin_Abstract

getClosingBracket() публичный Метод

public getClosingBracket ( )

getLinebreak() публичный Метод

public getLinebreak ( )

getLogger() публичный Метод

Get the ZFDebug logger
public getLogger ( ) : Zend_Log
Результат Zend_Log

getPlugin() публичный Метод

Get a registered plugin in the Debug Bar
public getPlugin ( string $identifier ) : ZFDebug_Controller_Plugin_Debug_Plugin_Interface
$identifier string
Результат ZFDebug_Controller_Plugin_Debug_Plugin_Interface

registerPlugin() публичный Метод

Register a new plugin in the Debug Bar
public registerPlugin ( ZFDebug_Controller_Plugin_Debug_Plugin_Interface $plugin ) : ZFDebug_Controller_Plugin_Debug
$plugin ZFDebug_Controller_Plugin_Debug_Plugin_Interface
Результат ZFDebug_Controller_Plugin_Debug

setOptions() публичный Метод

Sets options of the Debug Bar
public setOptions ( array $options = [] ) : ZFDebug_Controller_Plugin_Debug
$options array
Результат ZFDebug_Controller_Plugin_Debug

unregisterPlugin() публичный Метод

Unregister a plugin in the Debug Bar
public unregisterPlugin ( string $plugin ) : ZFDebug_Controller_Plugin_Debug
$plugin string
Результат ZFDebug_Controller_Plugin_Debug

Описание свойств

$_closingBracket защищенное свойство

Creates a new instance of the Debug Bar
protected $_closingBracket

$_options защищенное свойство

Contains options to change Debug Bar behavior
protected $_options

$_plugins защищенное свойство

Contains registered plugins
protected array $_plugins
Результат array

$_version защищенное свойство

Debug Bar Version Number for internal use only
protected string $_version
Результат string

$standardPlugins публичное статическое свойство

Standard plugins
public static array $standardPlugins
Результат array