|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilPollResultsHandler: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 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning
Definition at line 22 of file class.ilPollResultsHandler.php.
| ilPollResultsHandler::__construct | ( | ilObjPoll | $poll, |
| ilPollAnswersHandler | $answers | ||
| ) |
Definition at line 38 of file class.ilPollResultsHandler.php.
References Vendor\Package\$a, $answers, $res, ilObjPoll\getSortResultByVotes(), ilObjPoll\getVotePercentages(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilPollResultsHandler::getAnswerPercentage | ( | int | $id | ) |
Definition at line 93 of file class.ilPollResultsHandler.php.
References $id.
Referenced by ilPollResultsRenderer\renderBarChart(), and ilPollResultsRenderer\renderPieChart().
Here is the caller graph for this function:| ilPollResultsHandler::getAnswerText | ( | int | $id | ) |
Definition at line 88 of file class.ilPollResultsHandler.php.
Referenced by ilPollResultsRenderer\renderBarChart(), and ilPollResultsRenderer\renderPieChart().
Here is the caller graph for this function:| ilPollResultsHandler::getAnswerTotal | ( | int | $id | ) |
Definition at line 98 of file class.ilPollResultsHandler.php.
References $id.
Referenced by ilPollResultsRenderer\renderBarChart().
Here is the caller graph for this function:| ilPollResultsHandler::getOrderedAnswerIds | ( | ) |
Definition at line 60 of file class.ilPollResultsHandler.php.
References $answer_totals, and $id.
Referenced by ilPollResultsRenderer\renderBarChart(), and ilPollResultsRenderer\renderPieChart().
Here is the caller graph for this function:| ilPollResultsHandler::getTotalVotes | ( | ) |
|
protected |
Definition at line 31 of file class.ilPollResultsHandler.php.
|
protected |
Definition at line 36 of file class.ilPollResultsHandler.php.
Referenced by getOrderedAnswerIds().
|
protected |
Definition at line 24 of file class.ilPollResultsHandler.php.
Referenced by __construct().
|
protected |
Definition at line 25 of file class.ilPollResultsHandler.php.
|
protected |
Definition at line 26 of file class.ilPollResultsHandler.php.
Referenced by getTotalVotes().