ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Public Member Functions | |
__construct (private readonly ServerRequestInterface $http_request, private readonly ilLanguage $lng, private readonly UIFactory $ui_factory, private readonly int $server_id, private readonly ilObjectDataCache $object_data_cache, private readonly ilRbacReview $rbac_review, private readonly \ILIAS\Data\URI $action_url) | |
getRows (ILIAS\UI\Component\Table\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... | |
initRecords () | |
getComponent () | |
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... | |
getActions (URLBuilder $url_builder, URLBuilderToken $action_parameter_token, URLBuilderToken $row_id_token) | |
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... | |
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... | |
Private Member Functions | |
getRecords (Range $range, Order $order) | |
limitRecords (array $records, Range $range) | |
orderRecords (array $records, Order $order) | |
getColumns () | |
Private Attributes | |
array | $records = null |
Definition at line 32 of file LDAPRoleMappingTable.php.
LDAPRoleMappingTable::__construct | ( | private readonly ServerRequestInterface | $http_request, |
private readonly ilLanguage | $lng, | ||
private readonly UIFactory | $ui_factory, | ||
private readonly int | $server_id, | ||
private readonly ilObjectDataCache | $object_data_cache, | ||
private readonly ilRbacReview | $rbac_review, | ||
private readonly \ILIAS\Data\URI | $action_url | ||
) |
Definition at line 45 of file LDAPRoleMappingTable.php.
LDAPRoleMappingTable::getActions | ( | URLBuilder | $url_builder, |
URLBuilderToken | $action_parameter_token, | ||
URLBuilderToken | $row_id_token | ||
) |
Definition at line 153 of file LDAPRoleMappingTable.php.
References ILIAS\Repository\lng(), and ILIAS\UI\URLBuilder\withParameter().
|
private |
Definition at line 243 of file LDAPRoleMappingTable.php.
References ILIAS\Repository\lng().
LDAPRoleMappingTable::getComponent | ( | ) |
Definition at line 91 of file LDAPRoleMappingTable.php.
References ILIAS\Repository\lng().
Definition at line 134 of file LDAPRoleMappingTable.php.
References ILIAS\UI\Implementation\Component\Table\$range.
LDAPRoleMappingTable::getRows | ( | ILIAS\UI\Component\Table\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.
yield $row_builder->buildStandardRow($row_id, $record).
string[] | $visible_column_ids |
Implements ILIAS\UI\Component\Table\DataRetrieval.
Definition at line 56 of file LDAPRoleMappingTable.php.
LDAPRoleMappingTable::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 116 of file LDAPRoleMappingTable.php.
LDAPRoleMappingTable::initRecords | ( | ) |
Definition at line 70 of file LDAPRoleMappingTable.php.
References ilLDAPRoleGroupMappingSettings\_getInstanceByServerId(), ilLegacyFormElementsUtil\prepareFormOutput(), and ilStr\shortenTextExtended().
|
private |
list<array{ | 'id': int, 'title': string, 'role': string, 'dn': string, 'url': string, 'member_attribute': string, 'info': string }> $records |
Definition at line 197 of file LDAPRoleMappingTable.php.
References ILIAS\UI\Implementation\Component\Table\$range, ILIAS\Data\Range\getLength(), and ILIAS\Data\Range\getStart().
|
private |
list<array{ | 'id': int, 'title': string, 'role': string, 'dn': string, 'url': string, 'member_attribute': string, 'info': string }> $records |
Definition at line 222 of file LDAPRoleMappingTable.php.
References ILIAS\Data\Order\join(), and ilStr\strCmp().
|
private |
Definition at line 43 of file LDAPRoleMappingTable.php.