PHP Class bedezign\yii2\audit\models\AuditEntry

Inheritance: extends bedezign\yii2\audit\models\AuditModel
Afficher le fichier Open project: bedezign/yii2-audit Class Usage Examples

Protected Properties

Свойство Type Description
$autoSerialize boolean

Méthodes publiques

Méthode Description
addBatchData ( $batchData, boolean $compact = true ) Writes a number of associated data records in one go.
addData ( $type, $data, boolean | true $compact = true )
attributeLabels ( ) : array
create ( boolean $initialise = true ) : static
finalize ( ) : boolean
getData ( ) : ActiveQuery Returns all linked data records
getJavascripts ( ) : ActiveQuery Returns all linked AuditJavascript instances
getLinkedErrors ( ) : ActiveQuery Returns all linked AuditError instances (Called linkedErrors() to avoid confusion with the getErrors() method)
getMails ( ) : ActiveQuery Returns all linked AuditMail instances
getTrails ( ) : ActiveQuery Returns all linked AuditTrail instances
record ( ) Records the current application state into the instance.
tableName ( )

Method Details

addBatchData() public méthode

Writes a number of associated data records in one go.
public addBatchData ( $batchData, boolean $compact = true )
$batchData
$compact boolean

addData() public méthode

public addData ( $type, $data, boolean | true $compact = true )
$type
$data
$compact boolean | true

attributeLabels() public méthode

public attributeLabels ( ) : array
Résultat array

create() public static méthode

public static create ( boolean $initialise = true ) : static
$initialise boolean
Résultat static

finalize() public méthode

public finalize ( ) : boolean
Résultat boolean

getData() public méthode

Returns all linked data records
public getData ( ) : ActiveQuery
Résultat yii\db\ActiveQuery

getJavascripts() public méthode

Returns all linked AuditJavascript instances
public getJavascripts ( ) : ActiveQuery
Résultat yii\db\ActiveQuery

getLinkedErrors() public méthode

Returns all linked AuditError instances (Called linkedErrors() to avoid confusion with the getErrors() method)
public getLinkedErrors ( ) : ActiveQuery
Résultat yii\db\ActiveQuery

getMails() public méthode

Returns all linked AuditMail instances
public getMails ( ) : ActiveQuery
Résultat yii\db\ActiveQuery

getTrails() public méthode

Returns all linked AuditTrail instances
public getTrails ( ) : ActiveQuery
Résultat yii\db\ActiveQuery

record() public méthode

Records the current application state into the instance.
public record ( )

tableName() public static méthode

public static tableName ( )

Property Details

$autoSerialize protected_oe property

protected bool $autoSerialize
Résultat boolean