Class yii\debug\panels\AssetPanel

Inheritanceyii\debug\panels\AssetPanel » yii\debug\Panel » yii\base\Component
Available since version2.0

Debugger panel that collects and displays asset bundles data.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$actions array Array of actions to add to the debug modules default controller. yii\debug\Panel
$data mixed Data associated with panel yii\debug\Panel
$id string Panel unique identifier. yii\debug\Panel
$module yii\debug\Module yii\debug\Panel
$tag string Request data set identifier. yii\debug\Panel

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$error yii\debug\FlattenException|null Error while saving the panel yii\debug\Panel

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
format() Additional formatting for view. yii\debug\panels\AssetPanel
formatOptions() Format associative array of params to simple value. yii\debug\panels\AssetPanel
getLogMessages() Gets messages from log target and filters according to their categories and levels. yii\debug\Panel

Method Details

format() protected method

Additional formatting for view.

protected \yii\web\AssetBundle[] format ( array $bundles )
$bundles \yii\web\AssetBundle[]

Array of bundles to formatting.

formatOptions() protected method

Format associative array of params to simple value.

protected array formatOptions ( array &$params )
$params array
getDetail() public method

public string getDetail ( )
return string

Content that is displayed in debugger detail view

getName() public method

public string getName ( )
return string

Name of the panel

getSummary() public method

public string getSummary ( )
return string

Content that is displayed at debug toolbar

isEnabled() public method (available since version 2.0.10)

Checks whether this panel is enabled.

public boolean isEnabled ( )
return boolean

Whether this panel is enabled.

save() public method

Saves data to be later used in debugger detail view.

This method is called on every page where debugger is enabled.

public mixed save ( )
return mixed

Data to be saved