|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ILIAS\Calendar\Shared\Inbox\DataRetrieval:
Collaboration diagram for ILIAS\Calendar\Shared\Inbox\DataRetrieval:Public Member Functions | |
| __construct (protected int $user_id) | |
| 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... | |
| getAllIDs () | |
| 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... | |
| getAllIDs () | |
| 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 | |
| getOpenInvitations () | |
Protected Attributes | |
| array | $open_invitations |
Definition at line 32 of file DataRetrieval.php.
| ILIAS\Calendar\Shared\Inbox\DataRetrieval::__construct | ( | protected int | $user_id | ) |
Definition at line 36 of file DataRetrieval.php.
| ILIAS\Calendar\Shared\Inbox\DataRetrieval::getAllIDs | ( | ) |
Implements ILIAS\Calendar\Shared\DataRetrievalInterface.
Definition at line 90 of file DataRetrieval.php.
References ILIAS\Repository\int().
Here is the call graph for this function:
|
protected |
Definition at line 41 of file DataRetrieval.php.
References ilCalendarSharedStatus\getOpenInvitations().
Here is the call graph for this function:| ILIAS\Calendar\Shared\Inbox\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 46 of file DataRetrieval.php.
References $data, ilObjUser\_lookupName(), ILIAS\Calendar\Shared\Inbox\TableBuilder\APPOINTMENTS_COUNT_COLUMN, ILIAS\Calendar\Shared\Inbox\TableBuilder\CREATED_ON_COLUMN, ILIAS\Repository\int(), ILIAS\Calendar\Shared\Inbox\TableBuilder\NAME_COLUMN, and ILIAS\Calendar\Shared\Inbox\TableBuilder\OWNER_COLUMN.
Here is the call graph for this function:| ILIAS\Calendar\Shared\Inbox\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 99 of file DataRetrieval.php.
|
protected |
Definition at line 34 of file DataRetrieval.php.