|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\TestQuestionPool\Skills\SkillUsagesTable:
Collaboration diagram for ILIAS\TestQuestionPool\Skills\SkillUsagesTable:Public Member Functions | |
| __construct (private readonly UIFactory $ui_factory, private readonly \ilLanguage $lng, private readonly \ilAssQuestionSkillAssignmentList $assignment_list) | |
| getComponent () | |
| getColumns () | |
| collectRecords (?array $filter_data, ?array $additional_parameters) | |
| 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... | |
| 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... | |
Private Member Functions | |
| orderRecords (array $records, Order $order) | |
| limitRecords (array $records, Range $range) | |
| getRecords (Order $order, Range $range, ?array $filter_data, ?array $additional_parameters) | |
Definition at line 30 of file SkillUsagesTable.php.
| ILIAS\TestQuestionPool\Skills\SkillUsagesTable::__construct | ( | private readonly UIFactory | $ui_factory, |
| private readonly \ilLanguage | $lng, | ||
| private readonly \ilAssQuestionSkillAssignmentList | $assignment_list | ||
| ) |
Definition at line 32 of file SkillUsagesTable.php.
| ILIAS\TestQuestionPool\Skills\SkillUsagesTable::collectRecords | ( | ?array | $filter_data, |
| ?array | $additional_parameters | ||
| ) |
Definition at line 60 of file SkillUsagesTable.php.
Referenced by ILIAS\TestQuestionPool\Skills\SkillUsagesTable\getRecords().
Here is the caller graph for this function:| ILIAS\TestQuestionPool\Skills\SkillUsagesTable::getColumns | ( | ) |
Definition at line 48 of file SkillUsagesTable.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\TestQuestionPool\Skills\SkillUsagesTable::getComponent | ( | ) |
Definition at line 39 of file SkillUsagesTable.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
private |
Definition at line 85 of file SkillUsagesTable.php.
References ILIAS\UI\Implementation\Component\Table\$range, ILIAS\TestQuestionPool\Skills\SkillUsagesTable\collectRecords(), ILIAS\TestQuestionPool\Skills\SkillUsagesTable\limitRecords(), and ILIAS\TestQuestionPool\Skills\SkillUsagesTable\orderRecords().
Here is the call graph for this function:| ILIAS\TestQuestionPool\Skills\SkillUsagesTable::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 96 of file SkillUsagesTable.php.
References ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow().
Here is the call graph for this function:| ILIAS\TestQuestionPool\Skills\SkillUsagesTable::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 110 of file SkillUsagesTable.php.
|
private |
Definition at line 80 of file SkillUsagesTable.php.
References ILIAS\UI\Implementation\Component\Table\$range, ILIAS\Data\Range\getLength(), and ILIAS\Data\Range\getStart().
Referenced by ILIAS\TestQuestionPool\Skills\SkillUsagesTable\getRecords().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 65 of file SkillUsagesTable.php.
References Vendor\Package\$a, Vendor\Package\$b, and ILIAS\Data\Order\join().
Referenced by ILIAS\TestQuestionPool\Skills\SkillUsagesTable\getRecords().
Here is the call graph for this function:
Here is the caller graph for this function: