Documentation

EasyBlogPolls extends EasyBlog
in package

Table of Contents

Properties

$acl  : mixed
$app  : mixed
$config  : mixed
$db  : mixed
$doc  : mixed
$input  : mixed
$jconfig  : mixed
$lang  : mixed
$my  : mixed
$string  : mixed
$table  : mixed
$nextlimit  : mixed

Methods

__construct()  : mixed
__get()  : mixed
Magic method to get properties which don't exist on this object but on the table
canCreate()  : mixed
Determine if the poll can be created by the current user
canDelete()  : mixed
Determine if the poll can be deleted by the current user
canEdit()  : mixed
Determine if the poll can be edited by the current user
delete()  : mixed
Delete the poll
getBlockHtml()  : mixed
Retrieve the html of the poll block
getDefaultObject()  : mixed
Retrieve the default object data of a fresh poll
getError()  : mixed
Retrieve the error message
getErrors()  : mixed
getFormattedItems()  : mixed
Retrieve the formatted items for the block data
getFormattedObject()  : mixed
Retrieve the formatted object data of the poll
getItems()  : mixed
Retrieve the items of the poll
getNextLimit()  : mixed
Retrieve the voters of the poll/poll item
getTotalItems()  : mixed
Retrieve the total number of the items of the poll
getTotalVotes()  : mixed
Retrieve the total votes of the poll/poll item
getVoters()  : mixed
Retrieve the voters of the poll/poll item
hasError()  : mixed
hasErrors()  : mixed
hasExpirationDate()  : mixed
Determine if the poll has expiration date
hasExpired()  : mixed
Determine if the poll has expired
isMobile()  : mixed
Determines if this is a mobile layout
isPublished()  : mixed
Determine if the poll is published or not
isTablet()  : mixed
Determines if this is a tablet layout
loadLanguage()  : mixed
Helper method to load language
savePoll()  : mixed
Saves a poll
setError()  : mixed
store()  : mixed
Stores the table
unvote()  : mixed
Perform unvote action on the poll
vote()  : mixed
Perform vote action on the poll

Properties

$acl

public mixed $acl = \null

$app

public mixed $app = \null

$config

public mixed $config = \null

$db

public mixed $db = \null

$doc

public mixed $doc = \null

$input

public mixed $input = \null

$jconfig

public mixed $jconfig = \null

$lang

public mixed $lang = \null

$my

public mixed $my = \null

$string

public mixed $string = \null

$table

public mixed $table = \null

$nextlimit

private mixed $nextlimit = 0

Methods

__construct()

public __construct([mixed $id = null ]) : mixed
Parameters
$id : mixed = null

__get()

Magic method to get properties which don't exist on this object but on the table

public __get(mixed $key) : mixed
Parameters
$key : mixed
Tags
since
6.0.0
access

public

canCreate()

Determine if the poll can be created by the current user

public canCreate() : mixed
Tags
since
6.0.0
access

public

canDelete()

Determine if the poll can be deleted by the current user

public canDelete() : mixed
Tags
since
6.0.0
access

public

canEdit()

Determine if the poll can be edited by the current user

public canEdit() : mixed
Tags
since
6.0.0
access

public

delete()

Delete the poll

public delete() : mixed
Tags
since
6.0.0
access

public

getBlockHtml()

Retrieve the html of the poll block

public getBlockHtml() : mixed
Tags
since
6.0.0
access

public

getDefaultObject()

Retrieve the default object data of a fresh poll

public getDefaultObject() : mixed
Tags
since
6.0.0
access

public

getError()

Retrieve the error message

public getError() : mixed
Tags
since
6.0.0
access

public

getErrors()

public getErrors() : mixed

getFormattedItems()

Retrieve the formatted items for the block data

public getFormattedItems() : mixed
Tags
since
6.0.0
access

public

getFormattedObject()

Retrieve the formatted object data of the poll

public getFormattedObject([mixed $options = [] ]) : mixed
Parameters
$options : mixed = []
Tags
since
6.0.0
access

public

getItems()

Retrieve the items of the poll

public getItems() : mixed
Tags
since
6.0.0
access

public

getNextLimit()

Retrieve the voters of the poll/poll item

public getNextLimit() : mixed
Tags
since
6.0.0
access

public

getTotalItems()

Retrieve the total number of the items of the poll

public getTotalItems() : mixed
Tags
since
6.0.0
access

public

getTotalVotes()

Retrieve the total votes of the poll/poll item

public getTotalVotes([mixed $itemId = null ]) : mixed
Parameters
$itemId : mixed = null
Tags
since
6.0.0
access

public

getVoters()

Retrieve the voters of the poll/poll item

public getVoters(mixed $itemId[, mixed $options = [] ]) : mixed
Parameters
$itemId : mixed
$options : mixed = []
Tags
since
6.0.0
access

public

hasError()

public hasError() : mixed

hasErrors()

public hasErrors() : mixed

hasExpirationDate()

Determine if the poll has expiration date

public hasExpirationDate() : mixed
Tags
since
6.0.0
access

public

hasExpired()

Determine if the poll has expired

public hasExpired() : mixed
Tags
since
6.0.0
access

public

isMobile()

Determines if this is a mobile layout

public isMobile() : mixed
Tags
since
5.1
access

public

isPublished()

Determine if the poll is published or not

public isPublished() : mixed
Tags
since
6.0.0
access

public

isTablet()

Determines if this is a tablet layout

public isTablet() : mixed
Tags
since
5.3
access

public

loadLanguage()

Helper method to load language

public loadLanguage([mixed $admin = false ]) : mixed
Parameters
$admin : mixed = false
Tags
since
5.0
access

public

savePoll()

Saves a poll

public savePoll(mixed $data) : mixed
Parameters
$data : mixed
Tags
since
6.0.0
access

public

setError()

public setError(mixed $msg) : mixed
Parameters
$msg : mixed

store()

Stores the table

public store() : mixed
Tags
since
6.0.0
access

public

unvote()

Perform unvote action on the poll

public unvote(mixed $itemId, mixed $userId[, mixed $isPrevious = false ]) : mixed
Parameters
$itemId : mixed
$userId : mixed
$isPrevious : mixed = false
Tags
since
6.0.0
access

public

vote()

Perform vote action on the poll

public vote(mixed $itemId, mixed $userId) : mixed
Parameters
$itemId : mixed
$userId : mixed
Tags
since
6.0.0
access

public


        
On this page

Search results