ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
Public Member Functions | |
__construct (ilObjPoll $poll, string $vote_url, string $vote_cmd) | |
popLastVoteFromSession () | |
TODO session handling should get its own class. More... | |
getAnswers () | |
getAnswer (int $id) | |
getNumberOfAnswers () | |
getAnswerLimitForInfo () | |
getAnswerLimit () | |
getVoteURL () | |
getVoteCommand () | |
Protected Attributes | |
string | $vote_url |
string | $vote_cmd |
int | $poll_id |
array | $answers |
int | $answer_limit |
Definition at line 21 of file class.ilPollAnswersHandler.php.
ilPollAnswersHandler::__construct | ( | ilObjPoll | $poll, |
string | $vote_url, | ||
string | $vote_cmd | ||
) |
Definition at line 33 of file class.ilPollAnswersHandler.php.
References $answers, $id, $vote_cmd, $vote_url, ilObjPoll\getAnswers(), ilObject\getId(), ilObjPoll\getMaxNumberOfAnswers(), and ILIAS\Repository\int().
ilPollAnswersHandler::getAnswer | ( | int | $id | ) |
Definition at line 77 of file class.ilPollAnswersHandler.php.
References $id.
ilPollAnswersHandler::getAnswerLimit | ( | ) |
Definition at line 97 of file class.ilPollAnswersHandler.php.
References $answer_limit.
Referenced by getAnswerLimitForInfo(), and ilPollAnswersRenderer\render().
ilPollAnswersHandler::getAnswerLimitForInfo | ( | ) |
Definition at line 87 of file class.ilPollAnswersHandler.php.
References getAnswerLimit(), getNumberOfAnswers(), and null.
ilPollAnswersHandler::getAnswers | ( | ) |
Definition at line 70 of file class.ilPollAnswersHandler.php.
References $id.
Referenced by ilPollAnswersRenderer\render().
ilPollAnswersHandler::getNumberOfAnswers | ( | ) |
Definition at line 82 of file class.ilPollAnswersHandler.php.
Referenced by getAnswerLimitForInfo().
ilPollAnswersHandler::getVoteCommand | ( | ) |
Definition at line 107 of file class.ilPollAnswersHandler.php.
References $vote_cmd.
Referenced by ilPollAnswersRenderer\render().
ilPollAnswersHandler::getVoteURL | ( | ) |
Definition at line 102 of file class.ilPollAnswersHandler.php.
References $vote_url.
Referenced by ilPollAnswersRenderer\render().
ilPollAnswersHandler::popLastVoteFromSession | ( | ) |
TODO session handling should get its own class.
Definition at line 55 of file class.ilPollAnswersHandler.php.
References $poll_id, ilSession\get(), null, and ilSession\set().
Referenced by ilPollAnswersRenderer\render().
|
protected |
Definition at line 31 of file class.ilPollAnswersHandler.php.
Referenced by getAnswerLimit().
|
protected |
Definition at line 30 of file class.ilPollAnswersHandler.php.
Referenced by __construct().
|
protected |
Definition at line 25 of file class.ilPollAnswersHandler.php.
Referenced by popLastVoteFromSession().
|
protected |
Definition at line 24 of file class.ilPollAnswersHandler.php.
Referenced by __construct(), and getVoteCommand().
|
protected |
Definition at line 23 of file class.ilPollAnswersHandler.php.
Referenced by __construct(), and getVoteURL().