class Poll extends BaseModel

Wrapper for polls:poll, 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 }}

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
__url()

No description

__voteUrl()

No description

__question()

No description

__published()

No description

__total()

No description

__responses()

No description

__hasVoted()

No description

getResponses()

No description

getEmbed()

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

at line 17
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 22
__url()

at line 27
__voteUrl()

at line 32
__question()

at line 37
__published()

at line 46
__total()

at line 56
__responses()

at line 71
__hasVoted()

at line 80
getResponses()

at line 85
getEmbed()

at line 98
__toArray()