|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\Course\Grouping\Table\AssignmentRetrieval:
Collaboration diagram for ILIAS\Course\Grouping\Table\AssignmentRetrieval: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, 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... | |
| getAllEligibleRefIDs () | |
| 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 | |
| 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 124 of file AssignmentRetrieval.php.
References $ref_id.
| ILIAS\Course\Grouping\Table\AssignmentRetrieval::getAllEligibleRefIDs | ( | ) |
Definition at line 104 of file AssignmentRetrieval.php.
References ilUtil\_getObjectsByOperations(), ilObject\_lookupType(), and ILIAS\Repository\user().
Here is the call graph for this function:| ILIAS\Course\Grouping\Table\AssignmentRetrieval::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 51 of file AssignmentRetrieval.php.
| ILIAS\Course\Grouping\Table\AssignmentRetrieval::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 93 of file AssignmentRetrieval.php.
|
protected |
Definition at line 133 of file AssignmentRetrieval.php.
References Vendor\Package\$a, Vendor\Package\$b, and ILIAS\Data\Order\get().
Here is the call graph for this function: