\Ceo\Compat\ModelSection

Section Wrapper

Summary

Methods
Properties
Constants
__construct()
toCompat()
getCompatSource()
__uid()
__metaProperties()
__get()
__call()
__url()
__content()
__content_formatted()
__status()
__published()
__created()
__modified()
__name()
__tags()
No public properties found
No constants found
No protected methods found
$model
$stack
N/A
No private methods found
No private properties found
N/A

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

Returns

string

__content()

__content() 

Provides {{ section.content }} property

__content_formatted()

__content_formatted() 

Provides {{ section.content_formatted }} property

__status()

__status() : boolean

Provides {{ section.status }} property

Returns

boolean

__published()

__published() : integer

Provides {{ section.published }} property

Returns

integer

__created()

__created() : integer

Provides {{ section.created }} property

Returns

integer

__modified()

__modified() : integer

Provides {{ section.modified }} property

Returns

integer

__name()

__name() 

__tags()

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

Provides {{ section.tags }} collection

Returns

\Ceo\Compat\Model\FetchHandler