|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable:
Collaboration diagram for ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable: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, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
| getTotalRowCount (mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| Mainly for the purpose of pagination-support, it is important to know about the total number of records available. More... | |
| buildComponents (bool $is_start_page) | |
| getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
| getTotalRowCount (mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| Mainly for the purpose of pagination-support, it is important to know about the total number of records available. More... | |
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 | ( | bool | $is_start_page | ) |
Definition at line 85 of file QuestionsOfAttemptTable.php.
References $components, and ILIAS\Repository\ctrl().
Here is the call graph for this function:
|
protected |
Definition at line 126 of file QuestionsOfAttemptTable.php.
References ILIAS\Repository\ctrl(), and ilTestPlayerCommands\SHOW_QUESTION.
Referenced by ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable\getRows().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 136 of file QuestionsOfAttemptTable.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 120 of file QuestionsOfAttemptTable.php.
References ILIAS\UI\Implementation\Component\Table\$range, ILIAS\Data\Range\getLength(), and ILIAS\Data\Range\getStart().
Here is the call graph for this function:| ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable::getRows | ( | DataRowBuilder | $row_builder, |
| array | $visible_column_ids, | ||
| Range | $range, | ||
| Order | $order, | ||
| mixed | $additional_viewcontrol_data, | ||
| mixed | $filter_data, | ||
| mixed | $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(), and ILIAS\Repository\int().
Here is the call graph for this function:| ILIAS\Test\Questions\Presentation\QuestionsOfAttemptTable::getTotalRowCount | ( | mixed | $additional_viewcontrol_data, |
| mixed | $filter_data, | ||
| mixed | $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 73 of file QuestionsOfAttemptTable.php.
|
protected |
Definition at line 176 of file QuestionsOfAttemptTable.php.
|
protected |
Definition at line 171 of file QuestionsOfAttemptTable.php.
|
protected |
Definition at line 186 of file QuestionsOfAttemptTable.php.
|
protected |
Definition at line 181 of file QuestionsOfAttemptTable.php.