Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Phosphorum
Models
Posts
hasPoll
Phosphorum\Models\Posts::hasPoll PHP Method
Posts Class Documentation
Show file
Open project: phalcon/forum
hasPoll()
public
method
Checks if the Post has a Poll
public
hasPoll
( ) :
boolean
return
boolean
public function hasPoll() { return $this->getPollOptions()->valid(); }
Posts
afterCreate
afterDelete
afterSave
beforeCreate
beforeValidationOnCreate
canHaveBounty
clearCache
getBounty
getDifference
getHumanCreatedAt
getHumanEditedAt
getHumanModifiedAt
getHumanNumberViews
getRecentUsers
getUTCModifiedAt
hasAcceptedAnswer
hasPoll
hasReplies
initialize
isParticipatedInPoll
isStartVoting
isSubscribed