\Ceo\Core\MetaPropertiesRelatedentries

Select entry meta property

Summary

Methods
Properties
Constants
getType()
validate()
sanitize()
beforeSave()
afterSave()
afterFetch()
toArray()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getType()

getType() : string

React type

Returns

string —

'RelatedentriesMetaProperty'

validate()

validate(\Ceo\Core\Models\MetaProperty  $prop) : boolean

Validate the property value

Parameters

\Ceo\Core\Models\MetaProperty $prop

property

Returns

boolean

sanitize()

sanitize(mixed  $value) : mixed

Clean the submitted input

Parameters

mixed $value

Returns

mixed

beforeSave()

beforeSave(\Ceo\Core\Models\MetaProperty  $prop) : object

Called by parent model's beforeSave method

Parameters

\Ceo\Core\Models\MetaProperty $prop

Returns

object —

Self

afterSave()

afterSave(\Ceo\Core\Models\MetaProperty  $prop) : object

Called by parent model's afterSave method

Parameters

\Ceo\Core\Models\MetaProperty $prop

Returns

object —

Self

afterFetch()

afterFetch(\Ceo\Core\Models\MetaProperty  $prop) : object

Called by parent model's afterFetch method

Parameters

\Ceo\Core\Models\MetaProperty $prop

Returns

object —

Self

toArray()

toArray(\Ceo\Core\Models\MetaProperty  $prop, Array  $return) : Array

Called by parent model's toArray. Should return the modified array

Parameters

\Ceo\Core\Models\MetaProperty $prop

The property

Array $return

The pre-processed array to return

Returns

Array —

Array with modifications