|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\Course\Grouping\Table\GroupingRetrieval:
Collaboration diagram for ILIAS\Course\Grouping\Table\GroupingRetrieval:Public Member Functions | |
| __construct (protected int $content_obj_id, protected ilLanguage $lng, protected UIFactory $ui_factory, protected DataFactory $data_factory, protected StaticURL $static_url) | |
| 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... | |
| getAllGroupingIDs () | |
| 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... | |
Protected Member Functions | |
| buildLinkToObject (int $ref_id) | |
| buildLinkListing (int ... $ref_ids) | |
| sortRecords (array $records, Order $order) | |
Definition at line 39 of file GroupingRetrieval.php.
| ILIAS\Course\Grouping\Table\GroupingRetrieval::__construct | ( | protected int | $content_obj_id, |
| protected ilLanguage | $lng, | ||
| protected UIFactory | $ui_factory, | ||
| protected DataFactory | $data_factory, | ||
| protected StaticURL | $static_url | ||
| ) |
Definition at line 41 of file GroupingRetrieval.php.
|
protected |
Definition at line 121 of file GroupingRetrieval.php.
References $ref_id.
Referenced by ILIAS\Course\Grouping\Table\GroupingRetrieval\getRows().
Here is the caller graph for this function:
|
protected |
Definition at line 109 of file GroupingRetrieval.php.
References $ref_id, ilObject\_exists(), ilObject\_lookupTitle(), and ilObject\_lookupType().
Referenced by ILIAS\Course\Grouping\Table\GroupingRetrieval\getRows().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Course\Grouping\Table\GroupingRetrieval::getAllGroupingIDs | ( | ) |
Definition at line 96 of file GroupingRetrieval.php.
References ilObjCourseGrouping\_getVisibleGroupings().
Here is the call graph for this function:| ILIAS\Course\Grouping\Table\GroupingRetrieval::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 50 of file GroupingRetrieval.php.
References ILIAS\Course\Grouping\Table\GroupingRetrieval\buildLinkListing(), ILIAS\Course\Grouping\Table\GroupingRetrieval\buildLinkToObject(), ILIAS\Course\Grouping\Table\GroupingHandler\COL_ASSIGNED_OBJS, ILIAS\Course\Grouping\Table\GroupingHandler\COL_DESCRIPTION, ILIAS\Course\Grouping\Table\GroupingHandler\COL_SOURCE, ILIAS\Course\Grouping\Table\GroupingHandler\COL_TITLE, ILIAS\Course\Grouping\Table\GroupingHandler\COL_UNIQUE_FIELD, and ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\Course\Grouping\Table\GroupingRetrieval::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 101 of file GroupingRetrieval.php.
|
protected |
Definition at line 133 of file GroupingRetrieval.php.
References Vendor\Package\$a, Vendor\Package\$b, ILIAS\Data\Order\get(), and ILIAS\Test\Questions\Presentation\getLabel.
Here is the call graph for this function: