Свойство | Тип | Описание | |
---|---|---|---|
$auditCurrentUrl | string | ||
$auditEvent | string | ||
$auditIpAddress | string | ||
$auditUserId | string | ||
$dirtyData | array | ||
$newData | array | ||
$oldData | array |
Метод | Описание | |
---|---|---|
audit ( ) : void | Audit the model auditable. | |
auditCreation ( ) : void | Audit creation. | |
auditDeletion ( ) : void | Audit deletion. | |
auditUpdate ( ) : void | Audit updated. | |
audits ( ) : Illuminate\Database\Eloquent\Relations\MorphMany | Auditable Model audits. | |
bootAuditable ( ) | Init auditing. | |
cleanHiddenAuditAttributes ( array $attributes ) : array | Remove the value of attributes which are hidden or not visible on the model. | |
clearOlderAudits ( ) | ||
getAuditableEvents ( ) : array | Get the auditable events. | |
getAuditors ( ) : array | Get the Auditors. | |
getIpAddress ( ) : mixed | Get IP Address. | |
isAuditEnabled ( ) : boolean | Determine whether audit enabled. | |
isAuditRespectsHidden ( ) : boolean | Whether to clean the attributes which are hidden or not visible. | |
isEventAuditable ( string $event ) : boolean | Determine whether an event is auditable. | |
prepareAudit ( ) : void | Prepare audit model. | |
setAuditEvent ( $event ) | Set audit event. | |
toAudit ( ) : array | Audit model. | |
transformAudit ( array $data ) |
Метод | Описание | |
---|---|---|
getCurrentUrl ( ) : string | Get the current request's route if available. | |
getLoggedInUserId ( ) : null | Get user id. |
Метод | Описание | |
---|---|---|
changedAuditingFields ( ) : array | Fields Changed. | |
isAttributeAuditable ( $attribute ) : boolean | Determine whether a attribute is auditable for audit manipulation. |
public audits ( ) : Illuminate\Database\Eloquent\Relations\MorphMany | ||
Результат | Illuminate\Database\Eloquent\Relations\MorphMany |
public cleanHiddenAuditAttributes ( array $attributes ) : array | ||
$attributes | array | |
Результат | array |
public getAuditableEvents ( ) : array | ||
Результат | array |
protected getCurrentUrl ( ) : string | ||
Результат | string |
protected getLoggedInUserId ( ) : null | ||
Результат | null |
public static isAuditEnabled ( ) : boolean | ||
Результат | boolean |
public isAuditRespectsHidden ( ) : boolean | ||
Результат | boolean |
public isEventAuditable ( string $event ) : boolean | ||
$event | string | |
Результат | boolean |