프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$table | string |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$revisionFormattedFields | array |
메소드 | 설명 | |
---|---|---|
__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. |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | Object | false |
public revisionable ( ) : array | ||
리턴 | array | revision history |
public userResponsible ( ) : User | ||
리턴 | User | user responsible for the change |