Article
extends BaseModel
in package
Article Wrapper
Table of Contents
- $model : mixed
- $stack : mixed
- __abstract_formatted() : string
- Provides {{ article.abstract_formatted }} string
- __authors() : FetchHandler
- Provides {{ article.authors }} collection
- __call() : mixed
- Check for properties on the wrapper then wrapped model in that order
- __construct() : mixed
- __copy() : string
- Provides {{ article.copy }} string
- __copy_formatted() : string
- Provides {{ article.copy_formatted }} string
- __created() : int
- Provides {{ article.created }} property
- __get() : mixed
- __headline_formatted() : string
- Provides {{ article.headline_formatted }} string
- __infobox_formatted() : string
- Provides {{ article.infobox_formatted }} string
- __media() : FetchHandler
- Provides {{ article.media }} collection
- __mediaOrdered() : mixed
- __metaProperties() : Collection
- Provides {{ item.metaProperties }}
- __modified() : int
- Provides {{ article.modified }} property
- __published() : int
- Provides {{ article.published }} property
- __sections() : mixed
- 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.
- __status() : bool
- Provides {{ article.status }} property
- __subhead_formatted() : string
- Provides {{ article.subhead_formatted }} string
- __tags() : FetchHandler
- Provides {{ article.tags }} collection
- __title() : string
- One of gryphon's attributes (before traits) allowed for `title`.
- __uid() : int
- Provides {{ item.uid }}
- __url() : string
- Provides {{ article.url }} property
- getCompatSource() : object
- Return source model
- getRelated() : mixed
- toCompat() : mixed
Properties
$model
protected
mixed
$model
$stack
protected
mixed
$stack
= []
Methods
__abstract_formatted()
Provides {{ article.abstract_formatted }} string
public
__abstract_formatted() : string
Return values
string —__authors()
Provides {{ article.authors }} collection
public
__authors() : FetchHandler
Return values
FetchHandler —__call()
Check for properties on the wrapper then wrapped model in that order
public
__call(mixed $f, mixed $args) : mixed
Parameters
- $f : mixed
- $args : mixed
Return values
mixed —__construct()
public
__construct(mixed $model) : mixed
Parameters
- $model : mixed
Return values
mixed —__copy()
Provides {{ article.copy }} string
public
__copy() : string
Return values
string —__copy_formatted()
Provides {{ article.copy_formatted }} string
public
__copy_formatted() : string
Return values
string —__created()
Provides {{ article.created }} property
public
__created() : int
Return values
int —__get()
public
__get(mixed $f) : mixed
Parameters
- $f : mixed
Return values
mixed —__headline_formatted()
Provides {{ article.headline_formatted }} string
public
__headline_formatted() : string
Return values
string —__infobox_formatted()
Provides {{ article.infobox_formatted }} string
public
__infobox_formatted() : string
Return values
string —__media()
Provides {{ article.media }} collection
public
__media() : FetchHandler
Return values
FetchHandler —__mediaOrdered()
public
__mediaOrdered() : mixed
Return values
mixed —__metaProperties()
Provides {{ item.metaProperties }}
public
__metaProperties() : Collection
Return values
Collection —__modified()
Provides {{ article.modified }} property
public
__modified() : int
Return values
int —__published()
Provides {{ article.published }} property
public
__published() : int
Return values
int —__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.
public
__sections() : mixed
To fetch an article's manually associated containers, use {{ article.containers }}.
Return values
mixed —__status()
Provides {{ article.status }} property
public
__status() : bool
Return values
bool —__subhead_formatted()
Provides {{ article.subhead_formatted }} string
public
__subhead_formatted() : string
Return values
string —__tags()
Provides {{ article.tags }} collection
public
__tags() : FetchHandler
Return values
FetchHandler —__title()
One of gryphon's attributes (before traits) allowed for `title`.
public
__title() : string
Return values
string —__uid()
Provides {{ item.uid }}
public
__uid() : int
Return values
int —__url()
Provides {{ article.url }} property
public
__url() : string
Return values
string —getCompatSource()
Return source model
public
getCompatSource() : object
Return values
object —getRelated()
public
getRelated([mixed $limit = 3 ]) : mixed
Parameters
- $limit : mixed = 3
Return values
mixed —toCompat()
public
toCompat() : mixed