MetaPropertyInterface
interface MetaPropertyInterface
Describes standard meta property interface
Methods
string
getType()
React type
boolean
mixed
sanitize(mixed $value)
Sanitize the property value
object
object
Array
toArray(MetaProperty $prop, array $return)
Called by parent model's toArray. Should return the modified array
Details
at line line 19
string
getType()
React type
at line line 26
boolean
validate(MetaProperty $prop)
Validate the property value
at line line 33
mixed
sanitize(mixed $value)
Sanitize the property value
at line line 40
object
beforeSave(MetaProperty $prop)
Called by parent model's beforeSave method
at line line 47
object
afterSave(MetaProperty $prop)
Called by parent model's afterSave method
at line line 56
Array
toArray(MetaProperty $prop, array $return)
Called by parent model's toArray. Should return the modified array