Trait bedezign\yii2\audit\components\panels\PanelTrait

Implemented bybedezign\yii2\audit\components\panels\Panel, bedezign\yii2\audit\panels\ErrorPanel, bedezign\yii2\audit\panels\JavascriptPanel, bedezign\yii2\audit\panels\MailPanel, bedezign\yii2\audit\panels\TrailPanel

PanelTrait

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$maxAge int Maximum age (in days) of the data before it is cleaned bedezign\yii2\audit\components\panels\PanelTrait

Property Details

$_model protected property
$maxAge public property

Maximum age (in days) of the data before it is cleaned

public int $maxAge null

Method Details

cleanup() public method

public int cleanup ( $maxAge null )
$maxAge int|null
getChart() public method

public string|bool getChart ( )
getIndexUrl() public method

public array|bool getIndexUrl ( )
getLabel() public method

public string getLabel ( )
getUrl() public method

public string getUrl ( )
hasEntryData() public method

Returns if the panel is available for the specified entry.

If not it will not be shown in the viewer.

public bool hasEntryData ( $entry )
$entry bedezign\yii2\audit\models\AuditEntry
registerAssets() public method

public void registerAssets ( $view )
$view \yii\web\View
setModel() public method

public void setModel ( $model )
$model bedezign\yii2\audit\models\AuditEntry