\PollAdmin

Summary

Methods
Properties
Constants
authByAdmincode()
__construct()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
doDelete()
showInfo()
$polldata
$pollsub
$template
N/A

Properties

$polldata

$polldata : 

Type

$pollsub

$pollsub : 

Type

$template

$template : 

Type

Methods

authByAdmincode()

authByAdmincode(  $admincode = '') : \polldata

Checks the admin code, and dies if not valid

Parameters

$admincode

the admincode to check (default 'admin' get param)

Returns

\polldata —

jsonreader, if ok else dies

__construct()

__construct(  $pollid,   $template) 

Init polladmin by pollid and template for website

Parameters

$pollid
$template

doDelete()

doDelete() 

Checks for delete all or submissions query and does it

showInfo()

showInfo() 

Show the poll template page