class MetaProperty extends BaseModel

Meta Property Model

Properties

integer $id ID
integer $content_id Parent content ID
integer $container_id Parent content ID
integer $version Parent version number
string $value Meta property value
string $field Meta property field
string $type Meta property type, maps to React component

Methods

getResultsetClass()

No description

from BaseModel
boolean
hasProperty(string $str)

Determine if the model has a public property.

from BaseModel
setRelated(string $relation, mixed $value = array())

Phalcon has this bug where if you enumerate a relation then try to set it via the magic setter, it won't save.

from BaseModel
initialize()

initializer

validation()

No description

beforeSave()

No description

afterSave()

No description

afterFetch()

No description

string
getSource()

Returns table name mapped in the model.

static Urls[]
find(mixed $parameters = null)

Allows to query a set of records that match the specified conditions

static Urls
findFirst(mixed $parameters = null)

Allows to query the first record that match the specified conditions

toArray($columns = NULL)

No description

Details

in BaseModel at line line 13
getResultsetClass()

in BaseModel at line line 25
boolean hasProperty(string $str)

Determine if the model has a public property.

Useful in determining valid sorting options on the front end.

Parameters

string $str Property

Return Value

boolean

in BaseModel at line line 40
BaseModel setRelated(string $relation, mixed $value = array())

Phalcon has this bug where if you enumerate a relation then try to set it via the magic setter, it won't save.

I think it has something to do with implicit transactions, but I'm not entirely sure...

Parameters

string $relation
mixed $value

Return Value

BaseModel

at line line 58
initialize()

initializer

at line line 83
validation()

at line line 90
beforeSave()

at line line 97
afterSave()

at line line 103
afterFetch()

at line line 117
string getSource()

Returns table name mapped in the model.

Return Value

string

at line line 128
static Urls[] find(mixed $parameters = null)

Allows to query a set of records that match the specified conditions

Parameters

mixed $parameters

Return Value

Urls[]

at line line 139
static Urls findFirst(mixed $parameters = null)

Allows to query the first record that match the specified conditions

Parameters

mixed $parameters

Return Value

Urls

at line line 144
toArray($columns = NULL)

Parameters

$columns