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

Afficher le fichier Open project: bedezign/yii2-audit

Méthodes publiques

Свойство Type Description
$maxAge Maximum age (in days) of the data before it is cleaned

Protected Properties

Свойство Type Description
$_model bedezign\yii2\audit\models\AuditEntry

Méthodes publiques

Méthode Description
cleanup ( integer | null $maxAge = null ) : integer
getChart ( ) : string | boolean
getIndexUrl ( ) : array | boolean
getLabel ( ) : string
getUrl ( $additionalParams = NULL ) : string
hasEntryData ( AuditEntry $entry ) : boolean Returns if the panel is available for the specified entry.
registerAssets ( View $view )
setModel ( AuditEntry $model )

Method Details

cleanup() public méthode

public cleanup ( integer | null $maxAge = null ) : integer
$maxAge integer | null
Résultat integer

getChart() public méthode

public getChart ( ) : string | boolean
Résultat string | boolean

getIndexUrl() public méthode

public getIndexUrl ( ) : array | boolean
Résultat array | boolean

getLabel() public méthode

public getLabel ( ) : string
Résultat string

getUrl() public méthode

public getUrl ( $additionalParams = NULL ) : string
Résultat string

hasEntryData() public méthode

If not it will not be shown in the viewer.
public hasEntryData ( AuditEntry $entry ) : boolean
$entry bedezign\yii2\audit\models\AuditEntry
Résultat boolean

registerAssets() public méthode

public registerAssets ( View $view )
$view yii\web\View

setModel() public méthode

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

Property Details

$_model protected_oe property

protected AuditEntry,bedezign\yii2\audit\models $_model
Résultat bedezign\yii2\audit\models\AuditEntry

$maxAge public_oe property

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