PHP 트레잇 bedezign\yii2\audit\components\panels\PanelTrait

파일 보기 프로젝트 열기: bedezign/yii2-audit

공개 프로퍼티들

프로퍼티 타입 설명
$maxAge Maximum age (in days) of the data before it is cleaned

보호된 프로퍼티들

프로퍼티 타입 설명
$_model bedezign\yii2\audit\models\AuditEntry

공개 메소드들

메소드 설명
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 )

메소드 상세

cleanup() 공개 메소드

public cleanup ( integer | null $maxAge = null ) : integer
$maxAge integer | null
리턴 integer

getChart() 공개 메소드

public getChart ( ) : string | boolean
리턴 string | boolean

getIndexUrl() 공개 메소드

public getIndexUrl ( ) : array | boolean
리턴 array | boolean

getLabel() 공개 메소드

public getLabel ( ) : string
리턴 string

getUrl() 공개 메소드

public getUrl ( $additionalParams = NULL ) : string
리턴 string

hasEntryData() 공개 메소드

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

registerAssets() 공개 메소드

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

setModel() 공개 메소드

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

프로퍼티 상세

$_model 보호되어 있는 프로퍼티

protected AuditEntry,bedezign\yii2\audit\models $_model
리턴 bedezign\yii2\audit\models\AuditEntry

$maxAge 공개적으로 프로퍼티

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