Category
extends BaseModel
in package
Wrapper for snworks:category, wraps Ceo\Models\Entry.
Tags
Table of Contents
- $_ads : mixed
- $model : mixed
- $stack : mixed
- __ads() : array<string|int, mixed>
- Provides {{ category.ads }}
- __call() : mixed
- Check for properties on the wrapper then wrapped model in that order
- __construct() : mixed
- __get() : mixed
- __metaProperties() : Collection
- Provides {{ item.metaProperties }}
- __name() : string
- Provides {{ category.name }}
- __uid() : string
- Normally uid returns id, but in this case we want the uuid for tracking purposes.
- __url() : string
- Provides {{ category.url }}
- getCompatSource() : object
- Return source model
- toCompat() : mixed
Properties
$_ads
protected
mixed
$_ads
$model
protected
mixed
$model
$stack
protected
mixed
$stack
= []
Methods
__ads()
Provides {{ category.ads }}
public
__ads() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —__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 —__get()
public
__get(mixed $f) : mixed
Parameters
- $f : mixed
Return values
mixed —__metaProperties()
Provides {{ item.metaProperties }}
public
__metaProperties() : Collection
Return values
Collection —__name()
Provides {{ category.name }}
public
__name() : string
Return values
string —__uid()
Normally uid returns id, but in this case we want the uuid for tracking purposes.
public
__uid() : string
Provides {{ category.uid }}
Return values
string —__url()
Provides {{ category.url }}
public
__url() : string
Return values
string —getCompatSource()
Return source model
public
getCompatSource() : object
Return values
object —toCompat()
public
toCompat() : mixed