|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\AdministrativeNotification\DataRetrieval:
Collaboration diagram for ILIAS\AdministrativeNotification\DataRetrieval:Public Member Functions | |
| __construct (protected bool $has_write_access,) | |
| getRows (I\DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, mixed $additional_viewcontrol_data, mixed $filter_data, mixed $additional_parameters) | |
| 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... | |
Public Member Functions inherited from ILIAS\UI\Component\Table\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. 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 | |
| getRecords (Order $order) | |
| formatDate (DateTimeImmutable $timestamp) | |
| getLanguagesTextForNotification (array $record) | |
Private Attributes | |
| ilLanguage | $lng |
Definition at line 34 of file DataRetrieval.php.
| ILIAS\AdministrativeNotification\DataRetrieval::__construct | ( | protected bool | $has_write_access | ) |
Definition at line 38 of file DataRetrieval.php.
References $DIC, and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 100 of file DataRetrieval.php.
References $timestamp, ilDatePresentation\formatDate(), and IL_CAL_UNIX.
Here is the call graph for this function:
|
protected |
Definition at line 105 of file DataRetrieval.php.
References ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 66 of file DataRetrieval.php.
References Vendor\Package\$a, Vendor\Package\$b, ActiveRecord\getArray(), ILIAS\Data\Order\join(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ILIAS\AdministrativeNotification\DataRetrieval::getRows | ( | I\DataRowBuilder | $row_builder, |
| array | $visible_column_ids, | ||
| Range | $range, | ||
| Order | $order, | ||
| mixed | $additional_viewcontrol_data, | ||
| mixed | $filter_data, | ||
| mixed | $additional_parameters | ||
| ) |
Definition at line 45 of file DataRetrieval.php.
References ILIAS\AdministrativeNotification\Table\ACTION_DELETE, ILIAS\AdministrativeNotification\Table\ACTION_DUPLICATE, ILIAS\AdministrativeNotification\Table\ACTION_EDIT, and ILIAS\AdministrativeNotification\Table\ACTION_RESET.
| ILIAS\AdministrativeNotification\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 92 of file DataRetrieval.php.
|
private |
Definition at line 36 of file DataRetrieval.php.