ILIAS
trunk Revision v11.0_alpha-1861-g09f3d197f78
|
Public Member Functions | |
__construct (ilObjPoll $poll, ilPollAnswersHandler $answers) | |
getOrderedAnswerIds () | |
getTotalVotes () | |
getAnswerText (int $id) | |
getAnswerPercentage (int $id) | |
getAnswerTotal (int $id) | |
Protected Attributes | |
ilPollAnswersHandler | $answers |
bool | $sort_by_votes |
int | $total_votes |
array | $answer_percentages |
array | $answer_totals |
Definition at line 21 of file class.ilPollResultsHandler.php.
ilPollResultsHandler::__construct | ( | ilObjPoll | $poll, |
ilPollAnswersHandler | $answers | ||
) |
Definition at line 37 of file class.ilPollResultsHandler.php.
References Vendor\Package\$a, $answers, $res, ilObjPoll\getSortResultByVotes(), ilObjPoll\getVotePercentages(), and ILIAS\Repository\int().
ilPollResultsHandler::getAnswerPercentage | ( | int | $id | ) |
Definition at line 92 of file class.ilPollResultsHandler.php.
References $id.
Referenced by ilPollResultsRenderer\renderBarChart(), and ilPollResultsRenderer\renderStackedChart().
ilPollResultsHandler::getAnswerText | ( | int | $id | ) |
Definition at line 87 of file class.ilPollResultsHandler.php.
Referenced by ilPollResultsRenderer\renderBarChart(), and ilPollResultsRenderer\renderStackedChart().
ilPollResultsHandler::getAnswerTotal | ( | int | $id | ) |
Definition at line 97 of file class.ilPollResultsHandler.php.
References $id.
Referenced by ilPollResultsRenderer\renderBarChart(), and ilPollResultsRenderer\renderStackedChart().
ilPollResultsHandler::getOrderedAnswerIds | ( | ) |
Definition at line 59 of file class.ilPollResultsHandler.php.
References $answer_totals, and $id.
Referenced by ilPollResultsRenderer\renderBarChart(), and ilPollResultsRenderer\renderStackedChart().
ilPollResultsHandler::getTotalVotes | ( | ) |
|
protected |
Definition at line 30 of file class.ilPollResultsHandler.php.
|
protected |
Definition at line 35 of file class.ilPollResultsHandler.php.
Referenced by getOrderedAnswerIds().
|
protected |
Definition at line 23 of file class.ilPollResultsHandler.php.
Referenced by __construct().
|
protected |
Definition at line 24 of file class.ilPollResultsHandler.php.
|
protected |
Definition at line 25 of file class.ilPollResultsHandler.php.
Referenced by getTotalVotes().