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