Category
class Category extends BaseModel
Wrapper for snworks:category, wraps Ceo\Models\Entry.
Properties
protected | $model | from BaseModel | |
protected | $stack | from BaseModel | |
protected | $_ads |
Methods
integer
__uid()
Normally uid returns id, but in this case we want the uuid for tracking purposes.
__call($f, $args)
Check for properties on the wrapper then wrapped model in that order
from BaseModel
string
__name()
Provides {{ category.name }}
string
__url()
Provides {{ category.url }}
array
__ads()
Provides {{ category.ads }}
Details
in BaseModel at line 14
__construct($model)
in BaseModel at line 19
toCompat()
in BaseModel at line 28
object
getCompatSource()
Return source model
at line 22
integer
__uid()
Normally uid returns id, but in this case we want the uuid for tracking purposes.
Provides {{ category.uid }}
in BaseModel at line 46
Collection
__metaProperties()
Provides {{ item.metaProperties }}
in BaseModel at line 73
__get($f)
in BaseModel at line 88
__call($f, $args)
Check for properties on the wrapper then wrapped model in that order
at line 31
string
__name()
Provides {{ category.name }}
at line 40
string
__url()
Provides {{ category.url }}
at line 50
array
__ads()
Provides {{ category.ads }}