PHP Class ZFDebug_Controller_Plugin_Debug

Inheritance: extends Zend_Controller_Plugin_Abstract
Afficher le fichier Open project: jokkedk/zfdebug Class Usage Examples

Méthodes publiques

Свойство Type Description
$standardPlugins array Standard plugins

Protected Properties

Свойство Type Description
$_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

Méthodes publiques

Méthode Description
__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

Méthodes protégées

Méthode Description
_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

Method Details

__construct() public méthode

public __construct ( $options = null )

_getVersionPanel() protected méthode

Returns version panel
protected _getVersionPanel ( ) : string
Résultat string

_getVersionTab() protected méthode

Return version tab
protected _getVersionTab ( ) : string
Résultat string

_headerOutput() protected méthode

Returns html header for the Debug Bar
protected _headerOutput ( ) : string
Résultat string

_icon() protected méthode

Returns path to the specific icon
protected _icon ( $kind ) : string
Résultat string

_isXhtml() protected méthode

protected _isXhtml ( )

_loadPlugins() protected méthode

Load plugins set in config option
protected _loadPlugins ( ) : void;
Résultat void;

_output() protected méthode

Appends Debug Bar html output to the original page
protected _output ( string $html ) : void
$html string
Résultat void

dispatchLoopShutdown() public méthode

Defined by Zend_Controller_Plugin_Abstract

getClosingBracket() public méthode

public getClosingBracket ( )

getLinebreak() public méthode

public getLinebreak ( )

getLogger() public méthode

Get the ZFDebug logger
public getLogger ( ) : Zend_Log
Résultat Zend_Log

getPlugin() public méthode

Get a registered plugin in the Debug Bar
public getPlugin ( string $identifier ) : ZFDebug_Controller_Plugin_Debug_Plugin_Interface
$identifier string
Résultat ZFDebug_Controller_Plugin_Debug_Plugin_Interface

registerPlugin() public méthode

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
Résultat ZFDebug_Controller_Plugin_Debug

setOptions() public méthode

Sets options of the Debug Bar
public setOptions ( array $options = [] ) : ZFDebug_Controller_Plugin_Debug
$options array
Résultat ZFDebug_Controller_Plugin_Debug

unregisterPlugin() public méthode

Unregister a plugin in the Debug Bar
public unregisterPlugin ( string $plugin ) : ZFDebug_Controller_Plugin_Debug
$plugin string
Résultat ZFDebug_Controller_Plugin_Debug

Property Details

$_closingBracket protected_oe property

Creates a new instance of the Debug Bar
protected $_closingBracket

$_options protected_oe property

Contains options to change Debug Bar behavior
protected $_options

$_plugins protected_oe property

Contains registered plugins
protected array $_plugins
Résultat array

$_version protected_oe property

Debug Bar Version Number for internal use only
protected string $_version
Résultat string

$standardPlugins public_oe static_oe property

Standard plugins
public static array $standardPlugins
Résultat array