CoolCMS API

InitTrait

Table of Contents

Properties

$poll  : Poll|null
$pollId  : int|null

Methods

setPoll()  : self
setPollId()  : self
initalizePoll()  : Poll|null

Properties

Methods

setPoll()

public setPoll(Poll $poll) : self
Parameters
$poll : Poll
Return values
self

setPollId()

public setPollId(int $pollId) : self
Parameters
$pollId : int
Return values
self

initalizePoll()

protected initalizePoll(int $pollId[, bool $refresh = false ]) : Poll|null
Parameters
$pollId : int
$refresh : bool = false
Return values
Poll|null
On this page

Search results