Trait bedezign\yii2\audit\components\panels\PanelTrait
PanelTrait
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$maxAge | int | Maximum age (in days) of the data before it is cleaned | bedezign\yii2\audit\components\panels\PanelTrait |
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$_model | bedezign\yii2\audit\models\AuditEntry | bedezign\yii2\audit\components\panels\PanelTrait |
Public Methods
Property Details
Maximum age (in days) of the data before it is cleaned
Method Details
public int cleanup ( $maxAge = null ) | ||
$maxAge | int|null |
public string|bool getChart ( ) |
public array|bool getIndexUrl ( ) |
public string getLabel ( ) |
public string getUrl ( ) |
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 |
public void registerAssets ( $view ) | ||
$view | \yii\web\View |
public void setModel ( $model ) | ||
$model | bedezign\yii2\audit\models\AuditEntry |