PHP Класс yii\debug\Panel

С версии: 2.0
Автор: Qiang Xue ([email protected])
Наследование: extends yii\base\Component
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$actions array of actions to add to the debug modules default controller. This array will be merged with all other panels actions property. See [[\yii\base\Controller::actions()]] for the format.
$data data associated with panel
$id panel unique identifier. It is set automatically by the container module.
$module Module
$tag request data set identifier.

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

Метод Описание
getDetail ( ) : string
getName ( ) : string
getSummary ( ) : string
getTraceLine ( array $options ) : string Returns a trace line
getUrl ( null | array $additionalParams = null ) : string
load ( mixed $data ) Loads data into the panel
save ( ) : mixed Saves data to be later used in debugger detail view.

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

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

public getDetail ( ) : string
Результат string content that is displayed in debugger detail view

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

public getName ( ) : string
Результат string name of the panel

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

public getSummary ( ) : string
Результат string content that is displayed at debug toolbar

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

Returns a trace line
С версии: 2.0.7
public getTraceLine ( array $options ) : string
$options array The array with trace
Результат string the trace line

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

public getUrl ( null | array $additionalParams = null ) : string
$additionalParams null | array Optional additional parameters to add to the route
Результат string URL pointing to panel detail view

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

Loads data into the panel
public load ( mixed $data )
$data mixed

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

This method is called on every page where debugger is enabled.
public save ( ) : mixed
Результат mixed data to be saved

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

$actions публичное свойство

array of actions to add to the debug modules default controller. This array will be merged with all other panels actions property. See [[\yii\base\Controller::actions()]] for the format.
public $actions

$data публичное свойство

data associated with panel
public $data

$id публичное свойство

panel unique identifier. It is set automatically by the container module.
public $id

$module публичное свойство

public Module,yii\debug $module
Результат Module

$tag публичное свойство

request data set identifier.
public $tag