Method |
Description |
|
getMessagesAttribute ( ) : [] |
Get the messages for this field type |
|
getPickedRulesAttribute ( ) : [] |
Gets only the rules that are picked
instead of all the rules |
|
getPicksAttribute ( ) : [] |
Get the picks for this field type |
|
getRulesAttribute ( ) : [] |
Get the rules for this field type |
|
getScopeAttribute ( ) : string |
Let's us know if the scope of this field is global or page |
|
getTypeAttribute ( ) : string |
Get the field type this field type represetnts |
|
getValueAttribute ( ) : FieldValue |
Accessor on this model to get value
for the latestVersion of this field |
|
getValuesAttribute ( ) : FieldValue |
Sometimes we've been using values instead of value
so this is here for backwards compatability support |
|
model ( ) : Eloquent\Relationships\MorphTo |
A field belongs to a model |
|
syncValuesWithModelValues ( Eloquent $model = null ) : void |
This syncs the model values with all this fields values
which is useful in case the user updates the model outside
of the context of the model field |
|