generateLink() generateLink( $task = 'start', $pollid = '', $admincode = '') : \the Generates a System Link/ URL Parameters $task the task (start is default) $pollid the poll (empty string is default) $admincode Returns \the — url as string
generateAPILink() generateAPILink( $task, $params = array()) : \the Generates a API Link/ URL Parameters $task the task $params params to append array(param => value, ...) Returns \the — url as string
currentLinkGenerator() currentLinkGenerator( $params = array()) : \the Generates the current link Additional params should be parsed by urlParser() into $_GET Parameters $params parameter to append at the end; array( 'param' => 'value' ) Returns \the — url as string
urlParser() urlParser() : \['task' Parses the current url into an array and additional params into $_GET Returns \['task' — => task, 'pollid' => pollid or false, 'admincode' => admincode or false]