ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
|
Public Member Functions | |
__construct (protected int $content_obj_id, protected ilObjCourseGrouping $grouping, protected ilObjUser $user, protected ilTree $tree, protected UIFactory $ui_factory, protected ilLanguage $lng, protected DataFactory $data_factory) | |
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... | |
getAllEligibleRefIDs () | |
Protected Member Functions | |
buildPath (ReferenceId $ref_id) | |
sortRecords (array $records, Order $order) | |
Definition at line 38 of file AssignmentRetrieval.php.
ILIAS\Course\Grouping\Table\AssignmentRetrieval::__construct | ( | protected int | $content_obj_id, |
protected ilObjCourseGrouping | $grouping, | ||
protected ilObjUser | $user, | ||
protected ilTree | $tree, | ||
protected UIFactory | $ui_factory, | ||
protected ilLanguage | $lng, | ||
protected DataFactory | $data_factory | ||
) |
Definition at line 40 of file AssignmentRetrieval.php.
|
protected |
Definition at line 120 of file AssignmentRetrieval.php.
References ILIAS\Data\ReferenceId\toInt().
Referenced by ILIAS\Course\Grouping\Table\AssignmentRetrieval\getRows().
ILIAS\Course\Grouping\Table\AssignmentRetrieval::getAllEligibleRefIDs | ( | ) |
Definition at line 100 of file AssignmentRetrieval.php.
References ilUtil\_getObjectsByOperations(), ilObject\_lookupType(), and ILIAS\Repository\user().
Referenced by ILIAS\Course\Grouping\Table\AssignmentRetrieval\getRows(), and ILIAS\Course\Grouping\Table\AssignmentRetrieval\getTotalRowCount().
ILIAS\Course\Grouping\Table\AssignmentRetrieval::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 51 of file AssignmentRetrieval.php.
References $ref_id, ilObject\_lookupTitle(), ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow(), ILIAS\Course\Grouping\Table\AssignmentRetrieval\buildPath(), ILIAS\Course\Grouping\Table\AssignmentHandler\COL_ASSIGNED, ILIAS\Course\Grouping\Table\AssignmentHandler\COL_PATH, ILIAS\Course\Grouping\Table\AssignmentHandler\COL_TITLE, ILIAS\Course\Grouping\Table\AssignmentRetrieval\getAllEligibleRefIDs(), ILIAS\Data\Range\getLength(), ILIAS\Data\Range\getStart(), ILIAS\Repository\lng(), and ILIAS\Course\Grouping\Table\AssignmentRetrieval\sortRecords().
ILIAS\Course\Grouping\Table\AssignmentRetrieval::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 92 of file AssignmentRetrieval.php.
References ILIAS\Course\Grouping\Table\AssignmentRetrieval\getAllEligibleRefIDs().
|
protected |
Definition at line 129 of file AssignmentRetrieval.php.
References Vendor\Package\$a, Vendor\Package\$b, ILIAS\Data\Order\ASC, ILIAS\Course\Grouping\Table\AssignmentHandler\COL_ASSIGNED, ILIAS\Course\Grouping\Table\AssignmentHandler\COL_PATH, ILIAS\Course\Grouping\Table\AssignmentHandler\COL_TITLE, and ILIAS\Data\Order\get().
Referenced by ILIAS\Course\Grouping\Table\AssignmentRetrieval\getRows().