class Post extends BaseModel

Post Wrapper

Properties

protected $model from BaseModel
protected $stack from BaseModel

Methods

__construct($model)

No description

from BaseModel
toCompat()

No description

from BaseModel
object
getCompatSource()

Return source model

from BaseModel
integer
__uid()

Provides {{ item.uid }}

from BaseModel
Collection
__metaProperties()

Provides {{ item.metaProperties }}

from BaseModel
__get($f)

No description

from BaseModel
__call($f, $args)

Check for properties on the wrapper then wrapped model in that order

from BaseModel
string
__url()

Provides {{ post.url }} property

boolean
__status()

Provides {{ post.status }} property

integer
__published()

Provides {{ post.published }} property

integer
__created()

Provides {{ post.created }} property

integer
__modified()

Provides {{ post.modified }} property

FetchHandler
__authors()

Provides {{ post.authors }} collection

FetchHandler
__tags()

Provides {{ post.tags }} collection

__sections()

No description

FetchHandler
__media()

Provides {{ post.media }} collection

__mediaOrdered()

No description

string
__content_formatted()

Provides {{ post.content_formatted }} string

string
__abstract_formatted()

Provides {{ post.abstract_formatted }} string

string
__headline_formatted()

Provides {{ post.headline_formatted }} string

string
__copy()

Provides {{ post.copy }} string

string
__copy_formatted()

Provides {{ post.copy_formatted }} string

int
__blog_id()

Provides {{ post.blog_id }}

Details

in BaseModel at line 14
__construct($model)

Parameters

$model

in BaseModel at line 19
toCompat()

in BaseModel at line 28
object getCompatSource()

Return source model

Return Value

object

in BaseModel at line 37
integer __uid()

Provides {{ item.uid }}

Return Value

integer

in BaseModel at line 46
Collection __metaProperties()

Provides {{ item.metaProperties }}

Return Value

Collection

in BaseModel at line 73
__get($f)

Parameters

$f

in BaseModel at line 88
__call($f, $args)

Check for properties on the wrapper then wrapped model in that order

Parameters

$f
$args

at line 18
string __url()

Provides {{ post.url }} property

Return Value

string

at line 27
boolean __status()

Provides {{ post.status }} property

Return Value

boolean

at line 42
integer __published()

Provides {{ post.published }} property

Return Value

integer

at line 58
integer __created()

Provides {{ post.created }} property

Return Value

integer

at line 71
integer __modified()

Provides {{ post.modified }} property

Return Value

integer

at line 84
FetchHandler __authors()

Provides {{ post.authors }} collection

Return Value

FetchHandler

at line 108
FetchHandler __tags()

Provides {{ post.tags }} collection

Return Value

FetchHandler

at line 123
__sections()

at line 132
FetchHandler __media()

Provides {{ post.media }} collection

Return Value

FetchHandler

at line 143
__mediaOrdered()

at line 152
string __content_formatted()

Provides {{ post.content_formatted }} string

Return Value

string

at line 161
string __abstract_formatted()

Provides {{ post.abstract_formatted }} string

Return Value

string

at line 170
string __headline_formatted()

Provides {{ post.headline_formatted }} string

Return Value

string

at line 179
string __copy()

Provides {{ post.copy }} string

Return Value

string

at line 188
string __copy_formatted()

Provides {{ post.copy_formatted }} string

Return Value

string

at line 197
int __blog_id()

Provides {{ post.blog_id }}

Return Value

int