ILIAS
trunk Revision v11.0_alpha-1769-g99a433fe2dc
|
Public Member Functions | |
__construct (protected readonly \ilLanguage $lng, protected readonly \ilCtrlInterface $ctrl, protected readonly UIFactory $ui_factory, protected readonly DataFactory $data_factory, protected readonly GlobalHttpState $http, protected readonly \ilTestPlayerAbstractGUI $parent_gui, protected readonly \ilObjTest $test, protected readonly array $data) | |
getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, ?array $filter_data, ?array $additional_parameters) | |
This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
getTotalRowCount (?array $filter_data, ?array $additional_parameters) | |
Mainly for the purpose of pagination-support, it is important to know about the total number of records available. More... | |
buildComponents () | |
Protected Member Functions | |
getData (Range $range, Order $order) | |
createShowQuestionLink (int $sequence) | |
getColumns () | |
isShowDescriptionEnabled () | |
isPostponingEnabled () | |
isShowPointsEnabled () | |
isShowMarkerEnabled () | |
Definition at line 35 of file QuestionsOfAttemptTable.php.
ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable::__construct | ( | protected readonly \ilLanguage | $lng, |
protected readonly \ilCtrlInterface | $ctrl, | ||
protected readonly UIFactory | $ui_factory, | ||
protected readonly DataFactory | $data_factory, | ||
protected readonly GlobalHttpState | $http, | ||
protected readonly \ilTestPlayerAbstractGUI | $parent_gui, | ||
protected readonly \ilObjTest | $test, | ||
protected readonly array | $data | ||
) |
Definition at line 37 of file QuestionsOfAttemptTable.php.
ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable::buildComponents | ( | ) |
Definition at line 81 of file QuestionsOfAttemptTable.php.
References $components, ILIAS\Repository\ctrl(), ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\getColumns(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ilTestPlayerCommands\SHOW_QUESTION.
|
protected |
Definition at line 121 of file QuestionsOfAttemptTable.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\SHOW_QUESTION.
Referenced by ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\getRows().
|
protected |
Definition at line 131 of file QuestionsOfAttemptTable.php.
References ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\isPostponingEnabled(), ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\isShowDescriptionEnabled(), ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\isShowMarkerEnabled(), ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\isShowPointsEnabled(), and ILIAS\Repository\lng().
Referenced by ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\buildComponents().
|
protected |
Definition at line 115 of file QuestionsOfAttemptTable.php.
References ILIAS\Data\Range\getLength(), and ILIAS\Data\Range\getStart().
Referenced by ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\getRows().
ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable::getRows | ( | DataRowBuilder | $row_builder, |
array | $visible_column_ids, | ||
Range | $range, | ||
Order | $order, | ||
?array | $filter_data, | ||
?array | $additional_parameters | ||
) |
This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g.
yield $row_builder->buildStandardRow($row_id, $record).
string[] | $visible_column_ids |
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 49 of file QuestionsOfAttemptTable.php.
References ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow(), ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\createShowQuestionLink(), ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\getData(), and ILIAS\Repository\int().
ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable::getTotalRowCount | ( | ?array | $filter_data, |
?array | $additional_parameters | ||
) |
Mainly for the purpose of pagination-support, it is important to know about the total number of records available.
Given the nature of a DataTable, which is, opposite to a PresentationTable, rather administrative than explorative, this information will increase user experience quite a bit. However, you may return null, if the call is to costly, but expect the View Control to look a little different in this case.
Make sure that potential filters or user restrictions are being applied to the count.
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 72 of file QuestionsOfAttemptTable.php.
|
protected |
Definition at line 171 of file QuestionsOfAttemptTable.php.
Referenced by ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\getColumns().
|
protected |
Definition at line 166 of file QuestionsOfAttemptTable.php.
Referenced by ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\getColumns().
|
protected |
Definition at line 181 of file QuestionsOfAttemptTable.php.
Referenced by ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\getColumns().
|
protected |
Definition at line 176 of file QuestionsOfAttemptTable.php.
Referenced by ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\getColumns().