\PollForm
Create the Form itself.
- Author: Simon 'Sphere' Erkelens
Synopsis
class PollForm
extends Form
{
- // members
- protected $poll;
- // methods
- public void __construct()
- public void submitPoll()
- public void forTemplate()
- public void getShouldShowResults()
Hierarchy
Extends
- Form
Members
protected
- $poll
Methods
public
- __construct()
- forTemplate() — Renders the poll using the PollForm.ss
- getShouldShowResults() — Collate the information from PollForm and Poll to figure out if the results should be shown.
- submitPoll()