getType()
getType() : string
React type
Returns
string —'PrintonlyMetaProperty'
Can be used as an all purpose hidden property but the intent is a meta property that exists only in print components and is hidden but still tracked on the web.
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
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