Свойство | Type | Description | |
---|---|---|---|
$table | string |
Свойство | Type | Description | |
---|---|---|---|
$revisionFormattedFields | array |
Méthode | Description | |
---|---|---|
__construct ( array $attributes = [] ) | ||
fieldName ( ) : string | Field Name | |
format ( $key, $value ) : string | Format the value according to the $revisionFormattedFields array. | |
historyOf ( ) : Object | false | Returns the object we have the history of | |
newValue ( ) : string | New Value. | |
oldValue ( ) : string | Old Value. | |
revisionable ( ) : array | Revisionable. | |
userResponsible ( ) : User | User Responsible. |
Méthode | Description | |
---|---|---|
formatFieldName ( $key ) : boolean | Format field name. | |
getRelatedModel ( ) : string | Return the name of the related model. | |
getValue ( string $which = 'new' ) : string | Responsible for actually doing the grunt work for getting the old or new value for the revision. | |
isRelated ( ) : boolean | Return true if the key is for a related model. |
public historyOf ( ) : Object | false | ||
Résultat | Object | false |
public revisionable ( ) : array | ||
Résultat | array | revision history |
public userResponsible ( ) : User | ||
Résultat | User | user responsible for the change |
protected array $revisionFormattedFields | ||
Résultat | array |