class Article extends BaseModel

Article 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 {{ article.url }} property

boolean
__status()

Provides {{ article.status }} property

integer
__published()

Provides {{ article.published }} property

integer
__created()

Provides {{ article.created }} property

integer
__modified()

Provides {{ article.modified }} property

FetchHandler
__authors()

Provides {{ article.authors }} collection

FetchHandler
__tags()

Provides {{ article.tags }} collection

__sections()

Provides {{ article.sections }}. Note that this will only return sections related to the article via tag - CEO's "automatic" sections. This will not return manual containers because that's now how Gryphon worked.

FetchHandler
__media()

Provides {{ article.media }} collection

__mediaOrdered()

No description

string
__copy()

Provides {{ article.copy }} string

string
__copy_formatted()

Provides {{ article.copy_formatted }} string

string
__abstract_formatted()

Provides {{ article.abstract_formatted }} string

string
__headline_formatted()

Provides {{ article.headline_formatted }} string

string
__subhead_formatted()

Provides {{ article.subhead_formatted }} string

string
__infobox_formatted()

Provides {{ article.infobox_formatted }} string

string
__title()

One of gryphon's attributes (before traits) allowed for title.

getRelated($limit = 3)

No description

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 {{ article.url }} property

Return Value

string

at line 27
boolean __status()

Provides {{ article.status }} property

Return Value

boolean

at line 42
integer __published()

Provides {{ article.published }} property

Return Value

integer

at line 61
integer __created()

Provides {{ article.created }} property

Return Value

integer

at line 77
integer __modified()

Provides {{ article.modified }} property

Return Value

integer

at line 93
FetchHandler __authors()

Provides {{ article.authors }} collection

Return Value

FetchHandler

at line 117
FetchHandler __tags()

Provides {{ article.tags }} collection

Return Value

FetchHandler

at line 144
__sections()

Provides {{ article.sections }}. Note that this will only return sections related to the article via tag - CEO's "automatic" sections. This will not return manual containers because that's now how Gryphon worked.

To fetch an article's manually associated containers, use {{ article.containers }}.

at line 167
FetchHandler __media()

Provides {{ article.media }} collection

Return Value

FetchHandler

at line 183
__mediaOrdered()

at line 192
string __copy()

Provides {{ article.copy }} string

Return Value

string

at line 201
string __copy_formatted()

Provides {{ article.copy_formatted }} string

Return Value

string

at line 210
string __abstract_formatted()

Provides {{ article.abstract_formatted }} string

Return Value

string

at line 219
string __headline_formatted()

Provides {{ article.headline_formatted }} string

Return Value

string

at line 228
string __subhead_formatted()

Provides {{ article.subhead_formatted }} string

Return Value

string

at line 237
string __infobox_formatted()

Provides {{ article.infobox_formatted }} string

Return Value

string

at line 247
string __title()

One of gryphon's attributes (before traits) allowed for title.

Return Value

string

at line 252
getRelated($limit = 3)

Parameters

$limit