getType()
getType() : string
React type
Returns
string —'JsonMetaProperty'
JSON encoded data, hidden on the web but can be really useful for plugins.
validate(\Ceo\Core\Models\MetaProperty $prop) : boolean
Validate the property value
\Ceo\Core\Models\MetaProperty | $prop | property |
beforeSave(\Ceo\Core\Models\MetaProperty $prop) : object
Called by parent model's beforeSave method
\Ceo\Core\Models\MetaProperty | $prop |
Self
afterSave(\Ceo\Core\Models\MetaProperty $prop) : object
Called by parent model's afterSave method
\Ceo\Core\Models\MetaProperty | $prop |
Self
afterFetch(\Ceo\Core\Models\MetaProperty $prop) : object
Called by parent model's afterFetch method
\Ceo\Core\Models\MetaProperty | $prop |
Self
toArray(\Ceo\Core\Models\MetaProperty $prop, Array $return) : Array
Called by parent model's toArray. Should return the modified array
\Ceo\Core\Models\MetaProperty | $prop | The property |
Array | $return | The pre-processed array to return |
Array with modifications