HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
Yii2DebugPanel Class Reference
Inheritance diagram for Yii2DebugPanel:

Public Member Functions

 getName ()
 getSummary ()
 getDetail ()
 save ()
 __construct ($owner, $id)
 init ()
 getOwner ()
 getComponent ()
 getId ()
 getTag ()
 getUrl ()
 load ($data, $tag=null)
 render ($_viewFile_, $_data_=null)
 renderDetail ($caption, $values)
 renderTabs ($items)

Public Attributes

 $highlightCode
 $filterData

Protected Member Functions

 getData ()
 highlightPhp ($code)
 getLogs ()

Protected Attributes

 $_logsEnabled = false
 $_logsCategories = array()
 $_logsLevels = ''

Private Member Functions

 initLogRoute ()

Private Attributes

 $_owner
 $_id
 $_tag
 $_data
 $_logRoute
 $_hl

Detailed Description

Definition at line 16 of file Yii2DebugPanel.php.

Constructor & Destructor Documentation

Yii2DebugPanel::__construct (   $owner,
  $id 
)
Parameters
Yii2Debug$owner
string$id

Reimplemented in Yii2RequestPanel, and Yii2ViewPanel.

Definition at line 97 of file Yii2DebugPanel.php.

Here is the call graph for this function:

Member Function Documentation

Yii2DebugPanel::getComponent ( )
Returns
Yii2Debug
Deprecated:
will removed in v1.2

Definition at line 127 of file Yii2DebugPanel.php.

Yii2DebugPanel::getData ( )
protected
Returns
array

Definition at line 151 of file Yii2DebugPanel.php.

Here is the caller graph for this function:

Yii2DebugPanel::getDetail ( )
Returns
string html-контент для вывода на страницу

Reimplemented in Yii2LogPanel, Yii2DbPanel, Yii2ViewPanel, Yii2ProfilingPanel, Yii2ConfigPanel, and Yii2RequestPanel.

Definition at line 80 of file Yii2DebugPanel.php.

Yii2DebugPanel::getId ( )
Returns
string

Definition at line 135 of file Yii2DebugPanel.php.

Here is the caller graph for this function:

Yii2DebugPanel::getLogs ( )
protected

Get logs from Yii2DebugLogRoute.

Returns
array
Exceptions
Exception

Definition at line 254 of file Yii2DebugPanel.php.

Here is the caller graph for this function:

Yii2DebugPanel::getName ( )
Returns
string название панели для вывода в меню

Reimplemented in Yii2DbPanel, Yii2LogPanel, Yii2ProfilingPanel, Yii2ConfigPanel, Yii2RequestPanel, and Yii2ViewPanel.

Definition at line 64 of file Yii2DebugPanel.php.

Yii2DebugPanel::getOwner ( )
Returns
Yii2Debug

Definition at line 118 of file Yii2DebugPanel.php.

Here is the caller graph for this function:

Yii2DebugPanel::getSummary ( )
Returns
string html-контент для вывода в дебаг-панель

Reimplemented in Yii2DbPanel, Yii2LogPanel, Yii2ViewPanel, Yii2ProfilingPanel, Yii2ConfigPanel, and Yii2RequestPanel.

Definition at line 72 of file Yii2DebugPanel.php.

Yii2DebugPanel::getTag ( )
Returns
string

Definition at line 143 of file Yii2DebugPanel.php.

Here is the caller graph for this function:

Yii2DebugPanel::getUrl ( )
Returns
string URL страницы

Definition at line 159 of file Yii2DebugPanel.php.

Here is the call graph for this function:

Yii2DebugPanel::highlightPhp (   $code)
protected

Подсветка php-кода

Parameters
string$code
Returns
string

Definition at line 236 of file Yii2DebugPanel.php.

Yii2DebugPanel::init ( )

Debug panel initialization.

Reimplemented in Yii2DbPanel, Yii2LogPanel, and Yii2ProfilingPanel.

Definition at line 108 of file Yii2DebugPanel.php.

Here is the call graph for this function:

Here is the caller graph for this function:

Yii2DebugPanel::initLogRoute ( )
private

Initialize Yii2DebugLogRoute.

Exceptions
CException

Definition at line 267 of file Yii2DebugPanel.php.

Here is the caller graph for this function:

Yii2DebugPanel::load (   $data,
  $tag = null 
)
Parameters
array$data
null | string$tag

Definition at line 171 of file Yii2DebugPanel.php.

Yii2DebugPanel::render (   $_viewFile_,
  $_data_ = null 
)

Renders a view file

Parameters
string$_viewFile_view file
array$_data_data to be extracted and made available to the view file
Returns
string the rendering result

Definition at line 183 of file Yii2DebugPanel.php.

Here is the caller graph for this function:

Yii2DebugPanel::renderDetail (   $caption,
  $values 
)

Рендер блока с массивом key-value

Parameters
string$caption
array$values
Returns
string
Deprecated:

Definition at line 203 of file Yii2DebugPanel.php.

Here is the call graph for this function:

Yii2DebugPanel::renderTabs (   $items)

Рендер панели с закладками

Parameters
array$items
Returns
string
Deprecated:

Definition at line 217 of file Yii2DebugPanel.php.

Here is the call graph for this function:

Yii2DebugPanel::save ( )

Базовый метод для сбора отладочной информации

Returns
mixed

Reimplemented in Yii2DbPanel, Yii2LogPanel, Yii2ProfilingPanel, Yii2ViewPanel, Yii2ConfigPanel, and Yii2RequestPanel.

Definition at line 89 of file Yii2DebugPanel.php.

Member Data Documentation

Yii2DebugPanel::$_data
private

Definition at line 55 of file Yii2DebugPanel.php.

Yii2DebugPanel::$_hl
private

Definition at line 229 of file Yii2DebugPanel.php.

Yii2DebugPanel::$_id
private

Definition at line 47 of file Yii2DebugPanel.php.

Yii2DebugPanel::$_logRoute
private

Definition at line 59 of file Yii2DebugPanel.php.

Yii2DebugPanel::$_logsCategories = array()
protected

Definition at line 34 of file Yii2DebugPanel.php.

Yii2DebugPanel::$_logsEnabled = false
protected

Definition at line 29 of file Yii2DebugPanel.php.

Yii2DebugPanel::$_logsLevels = ''
protected

Definition at line 39 of file Yii2DebugPanel.php.

Yii2DebugPanel::$_owner
private

Definition at line 43 of file Yii2DebugPanel.php.

Yii2DebugPanel::$_tag
private

Definition at line 51 of file Yii2DebugPanel.php.

Yii2DebugPanel::$filterData

Definition at line 25 of file Yii2DebugPanel.php.

Yii2DebugPanel::$highlightCode

Definition at line 21 of file Yii2DebugPanel.php.


The documentation for this class was generated from the following file: