PHP 클래스 yii\debug\Panel

부터: 2.0
저자: Qiang Xue ([email protected])
상속: extends yii\base\Component
파일 보기 프로젝트 열기: yiisoft/yii2-debug 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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