Properties

$model

$model : 

Type

$stack

$stack : 

Type

Methods

__construct()

__construct(  $model) 

Parameters

$model

toCompat()

toCompat() 

getCompatSource()

getCompatSource() : object

Return source model

Returns

object

__uid()

__uid() : integer

Provides {{ item.uid }}

Returns

integer

__metaProperties()

__metaProperties() : \Ceo\Compat\Model\Ceo\Compat\Collection

Provides {{ item.metaProperties }}

Returns

\Ceo\Compat\Model\Ceo\Compat\Collection

__get()

__get(  $f) 

Parameters

$f

__call()

__call(  $f,   $args) 

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

Parameters

$f
$args

__url()

__url() : string

Provides {{ article.url }} property

Returns

string

__status()

__status() : boolean

Provides {{ article.status }} property

Returns

boolean

__published()

__published() : integer

Provides {{ article.published }} property

Returns

integer

__created()

__created() : integer

Provides {{ article.created }} property

Returns

integer

__modified()

__modified() : integer

Provides {{ article.modified }} property

Returns

integer

__authors()

__authors() : \Ceo\Compat\Model\FetchHandler

Provides {{ article.authors }} collection

Returns

\Ceo\Compat\Model\FetchHandler

__tags()

__tags() : \Ceo\Compat\Model\FetchHandler

Provides {{ article.tags }} collection

Returns

\Ceo\Compat\Model\FetchHandler

__sections()

__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 }}.

__media()

__media() : \Ceo\Compat\Model\FetchHandler

Provides {{ article.media }} collection

Returns

\Ceo\Compat\Model\FetchHandler

__mediaOrdered()

__mediaOrdered() 

__copy()

__copy() : string

Provides {{ article.copy }} string

Returns

string

__copy_formatted()

__copy_formatted() : string

Provides {{ article.copy_formatted }} string

Returns

string

__abstract_formatted()

__abstract_formatted() : string

Provides {{ article.abstract_formatted }} string

Returns

string

__headline_formatted()

__headline_formatted() : string

Provides {{ article.headline_formatted }} string

Returns

string

__subhead_formatted()

__subhead_formatted() : string

Provides {{ article.subhead_formatted }} string

Returns

string

__infobox_formatted()

__infobox_formatted() : string

Provides {{ article.infobox_formatted }} string

Returns

string

__title()

__title() : string

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

Returns

string

getRelated()

getRelated(  $limit = 3) 

Parameters

$limit