Printonly
class Printonly extends Module implements MetaPropertyInterface
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.
Methods
string
getType()
React type
boolean
mixed
sanitize(mixed $value)
Clean the submitted input
object
object
Array
toArray(MetaProperty $prop, array $return)
Called by parent model's toArray. Should return the modified array
Details
at line line 20
string
getType()
React type
at line line 30
boolean
validate(MetaProperty $prop)
Validate the property value
at line line 40
mixed
sanitize(mixed $value)
Clean the submitted input
at line line 50
object
beforeSave(MetaProperty $prop)
Called by parent model's beforeSave method
at line line 60
object
afterSave(MetaProperty $prop)
Called by parent model's afterSave method
at line line 72
Array
toArray(MetaProperty $prop, array $return)
Called by parent model's toArray. Should return the modified array