class Response extends BaseModel

Wrapper for polls:response, wraps Ceo\Models\Entry.

Properties

protected $model from BaseModel
protected $stack from BaseModel

Methods

__construct($model)

No description

from BaseModel
toCompat()

No description

from BaseModel
object
getCompatSource()

Return source model

from BaseModel
integer
__uid()

Provides {{ item.uid }}

from BaseModel
Collection
__metaProperties()

Provides {{ item.metaProperties }}

from BaseModel
__get($f)

No description

from BaseModel
__call($f, $args)

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

from BaseModel
__total()

No description

__answer()

No description

__percent()

No description

__poll()

No description

__toArray()

No description

Details

in BaseModel at line 14
__construct($model)

Parameters

$model

in BaseModel at line 19
toCompat()

in BaseModel at line 28
object getCompatSource()

Return source model

Return Value

object

in BaseModel at line 37
integer __uid()

Provides {{ item.uid }}

Return Value

integer

in BaseModel at line 46
Collection __metaProperties()

Provides {{ item.metaProperties }}

Return Value

Collection

in BaseModel at line 73
__get($f)

Parameters

$f

in BaseModel at line 88
__call($f, $args)

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

Parameters

$f
$args

at line 16
__total()

at line 21
__answer()

at line 26
__percent()

at line 42
__poll()

at line 55
__toArray()