ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (protected ilCourseParticipantsGroupsGUI $parent_obj, protected ilTree $tree, protected ilAccess $access, protected ilUIServices $ui_services, protected int $ref_id) | |
buildConfirmUnsubscribeActionId (int $group_ref_id) | |
buildUnsubscribeActionId (int $group_ref_id) | |
getAllConfirmUnsubscribeActionIds () | |
getAllUserIds () | |
getSelectableGroups () | |
getRows (\ILIAS\UI\Component\Table\DataRowBuilder $row_builder, array $visible_column_ids, \ILIAS\Data\Range $range, \ILIAS\Data\Order $order, ?array $filter_data, ?array $additional_parameters) | |
getTotalRowCount (?array $filter_data, ?array $additional_parameters) | |
Mainly for the purpose of pagination-support, it is important to know about the total number of records available. More... | |
init () | |
![]() | |
getRows (DataRowBuilder $row_builder, array $visible_column_ids, Range $range, Order $order, ?array $filter_data, ?array $additional_parameters) | |
This is called by the table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
Protected Attributes | |
const | TABLE_ACTION_CONFIRM_UNSUBSCRIBE_SUFFIX = '_confirm_unsubscribe' |
const | TABLE_ACTION_UNSUBSCRIBE_SUFFIX = '_unsubscribe' |
array | $data |
int | $obj_id |
Definition at line 24 of file class.ilCourseParticipantsGroupsTableDataRetrieval.php.
ilCourseParticipantsGroupsTableDataRetrieval::__construct | ( | protected ilCourseParticipantsGroupsGUI | $parent_obj, |
protected ilTree | $tree, | ||
protected ilAccess | $access, | ||
protected ilUIServices | $ui_services, | ||
protected int | $ref_id | ||
) |
Definition at line 31 of file class.ilCourseParticipantsGroupsTableDataRetrieval.php.
References ilObject\_lookupObjId(), ilCourseParticipantsGroupsTableGUI\TABLE_FILTER_GROUPS, and ilCourseParticipantsGroupsTableGUI\TABLE_FILTER_NAME.
ilCourseParticipantsGroupsTableDataRetrieval::buildConfirmUnsubscribeActionId | ( | int | $group_ref_id | ) |
Definition at line 82 of file class.ilCourseParticipantsGroupsTableDataRetrieval.php.
Referenced by getAllConfirmUnsubscribeActionIds(), and getRows().
ilCourseParticipantsGroupsTableDataRetrieval::buildUnsubscribeActionId | ( | int | $group_ref_id | ) |
Definition at line 88 of file class.ilCourseParticipantsGroupsTableDataRetrieval.php.
ilCourseParticipantsGroupsTableDataRetrieval::getAllConfirmUnsubscribeActionIds | ( | ) |
Definition at line 94 of file class.ilCourseParticipantsGroupsTableDataRetrieval.php.
References $ref_id, buildConfirmUnsubscribeActionId(), and getSelectableGroups().
Referenced by getRows().
ilCourseParticipantsGroupsTableDataRetrieval::getAllUserIds | ( | ) |
Definition at line 103 of file class.ilCourseParticipantsGroupsTableDataRetrieval.php.
References ILIAS\Repository\int().
ilCourseParticipantsGroupsTableDataRetrieval::getRows | ( | \ILIAS\UI\Component\Table\DataRowBuilder | $row_builder, |
array | $visible_column_ids, | ||
\ILIAS\Data\Range | $range, | ||
\ILIAS\Data\Order | $order, | ||
?array | $filter_data, | ||
?array | $additional_parameters | ||
) |
Definition at line 124 of file class.ilCourseParticipantsGroupsTableDataRetrieval.php.
References buildConfirmUnsubscribeActionId(), getAllConfirmUnsubscribeActionIds(), ilCourseParticipantsGroupsTableGUI\TABLE_COL_GROUP_NUMBER, ilCourseParticipantsGroupsTableGUI\TABLE_COL_GROUPS, ilCourseParticipantsGroupsTableGUI\TABLE_COL_LOGIN, and ilCourseParticipantsGroupsTableGUI\TABLE_COL_NAME.
ilCourseParticipantsGroupsTableDataRetrieval::getSelectableGroups | ( | ) |
Definition at line 113 of file class.ilCourseParticipantsGroupsTableDataRetrieval.php.
References $ref_id.
Referenced by getAllConfirmUnsubscribeActionIds().
ilCourseParticipantsGroupsTableDataRetrieval::getTotalRowCount | ( | ?array | $filter_data, |
?array | $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 199 of file class.ilCourseParticipantsGroupsTableDataRetrieval.php.
ilCourseParticipantsGroupsTableDataRetrieval::init | ( | ) |
Definition at line 206 of file class.ilCourseParticipantsGroupsTableDataRetrieval.php.
References ilCourseParticipants\_getInstanceByObjId(), ilGroupParticipants\_getInstanceByObjId(), ilObjUser\_lookupName(), and ILIAS\Repository\access().
|
protected |
Definition at line 28 of file class.ilCourseParticipantsGroupsTableDataRetrieval.php.
|
protected |
Definition at line 29 of file class.ilCourseParticipantsGroupsTableDataRetrieval.php.
|
protected |
Definition at line 26 of file class.ilCourseParticipantsGroupsTableDataRetrieval.php.
|
protected |
Definition at line 27 of file class.ilCourseParticipantsGroupsTableDataRetrieval.php.