|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ILIAS\Calendar\Manage\DataRetrieval:
Collaboration diagram for ILIAS\Calendar\Manage\DataRetrieval:Public Member Functions | |
| __construct (protected ilCalendarCategories $categories, protected ilCalendarActions $actions, protected ilLanguage $lng, protected UIFactory $ui_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... | |
| 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 | |
| buildTypeIcon (int $type, string $obj_type) | |
| disableInactiveActions (int $id, DataRow $row) | |
Definition at line 37 of file DataRetrieval.php.
| ILIAS\Calendar\Manage\DataRetrieval::__construct | ( | protected ilCalendarCategories | $categories, |
| protected ilCalendarActions | $actions, | ||
| protected ilLanguage | $lng, | ||
| protected UIFactory | $ui_factory | ||
| ) |
Definition at line 39 of file DataRetrieval.php.
|
protected |
Definition at line 106 of file DataRetrieval.php.
References Vendor\Package\$f, ILIAS\Repository\lng(), ilCalendarCategory\TYPE_BOOK, ilCalendarCategory\TYPE_CH, ilCalendarCategory\TYPE_GLOBAL, ilCalendarCategory\TYPE_OBJ, and ilCalendarCategory\TYPE_USR.
Here is the call graph for this function:
|
protected |
Definition at line 140 of file DataRetrieval.php.
References $id, and ILIAS\UI\Component\Table\DataRow\withDisabledAction().
Here is the call graph for this function:| ILIAS\Calendar\Manage\DataRetrieval::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 47 of file DataRetrieval.php.
References $data, $info, ilObject\_lookupType(), ilCalendarCategory\lookupCategorySortIndex(), ilCalendarCategory\TYPE_BOOK, and ilCalendarCategory\TYPE_OBJ.
Here is the call graph for this function:| ILIAS\Calendar\Manage\DataRetrieval::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 98 of file DataRetrieval.php.