ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (?Factory $ui_factory=null, ?ilUserCertificateRepository $repo=null, ?ilUIService $ui_service=null, ?ilLanguage $lng=null, ServerRequestInterface|RequestInterface|null $request=null, ?\ILIAS\Data\Factory $data_factory=null, ?ilCtrl $ctrl=null, ?Renderer $ui_renderer=null, ?ilAccessHandler $access=null, ?ilObjUser $user=null) | |
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... | |
render () | |
![]() | |
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... | |
Private Member Functions | |
mapUiFilterData (array $filter_data) | |
buildFilter () | |
buildTable () | |
buildTableRows (array $certificates) | |
Private Attributes | |
readonly ilUserCertificateRepository | $repo |
readonly ilUIService | $ui_service |
readonly Factory | $ui_factory |
readonly ilLanguage | $lng |
readonly ServerRequestInterface | $request |
readonly ILIAS Data Factory | $data_factory |
readonly ilCtrl ilCtrlInterface | $ctrl |
readonly ILIAS UI Component Input Container Filter Standard | $filter |
readonly Data | $table |
readonly Renderer | $ui_renderer |
readonly ilAccessHandler | $access |
readonly ilObjUser | $user |
readonly DateTimeZone | $user_timezone |
Definition at line 52 of file CertificateOverviewTable.php.
ILIAS\Certificate\Overview\CertificateOverviewTable::__construct | ( | ?Factory | $ui_factory = null , |
?ilUserCertificateRepository | $repo = null , |
||
?ilUIService | $ui_service = null , |
||
?ilLanguage | $lng = null , |
||
ServerRequestInterface|RequestInterface|null | $request = null , |
||
?\ILIAS\Data\Factory | $data_factory = null , |
||
?ilCtrl | $ctrl = null , |
||
?Renderer | $ui_renderer = null , |
||
?ilAccessHandler | $access = null , |
||
?ilObjUser | $user = null |
||
) |
Definition at line 68 of file CertificateOverviewTable.php.
References $DIC, ILIAS\UI\Implementation\Component\Table\$range, ILIAS\Repository\access(), ILIAS\UI\Component\Table\DataRowBuilder\buildDataRow(), ILIAS\Certificate\Overview\CertificateOverviewTable\buildFilter(), ILIAS\Certificate\Overview\CertificateOverviewTable\buildTable(), ILIAS\Certificate\Overview\CertificateOverviewTable\buildTableRows(), ILIAS\Repository\ctrl(), ILIAS\Repository\filter(), ILIAS\UI\Component\Table\DataRetrieval\getRows(), ILIAS\Data\Order\join(), ILIAS\Repository\lng(), ILIAS\Certificate\Overview\CertificateOverviewTable\mapUiFilterData(), and ILIAS\Repository\user().
|
private |
Definition at line 171 of file CertificateOverviewTable.php.
References ilObjCertificateSettingsGUI\CMD_CERTIFICATES_OVERVIEW, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by ILIAS\Certificate\Overview\CertificateOverviewTable\__construct().
|
private |
Definition at line 195 of file CertificateOverviewTable.php.
References ilObjCertificateSettingsGUI\CMD_DOWNLOAD_CERTIFICATE, ILIAS\Repository\ctrl(), ILIAS\Data\Order\DESC, ILIAS\Repository\lng(), and ILIAS\Repository\user().
Referenced by ILIAS\Certificate\Overview\CertificateOverviewTable\__construct().
|
private |
ilUserCertificate[] | $certificates |
Definition at line 257 of file CertificateOverviewTable.php.
References $refId, ilObject\_getAllReferences(), ilObjUser\_lookupLogin(), ilObject\_lookupTitle(), and ILIAS\Repository\access().
Referenced by ILIAS\Certificate\Overview\CertificateOverviewTable\__construct().
ILIAS\Certificate\Overview\CertificateOverviewTable::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 163 of file CertificateOverviewTable.php.
References ILIAS\Repository\filter(), and ILIAS\Certificate\Overview\CertificateOverviewTable\mapUiFilterData().
|
private |
array{certificate_id | null|string, issue_date: string[], object: null|string, owner: null|string} $filter_data |
Definition at line 132 of file CertificateOverviewTable.php.
References ILIAS\Repository\int(), and null.
Referenced by ILIAS\Certificate\Overview\CertificateOverviewTable\__construct(), and ILIAS\Certificate\Overview\CertificateOverviewTable\getTotalRowCount().
ILIAS\Certificate\Overview\CertificateOverviewTable::render | ( | ) |
Definition at line 304 of file CertificateOverviewTable.php.
References ILIAS\Repository\filter().
|
private |
Definition at line 64 of file CertificateOverviewTable.php.
|
private |
Definition at line 60 of file CertificateOverviewTable.php.
|
private |
Definition at line 59 of file CertificateOverviewTable.php.
|
private |
Definition at line 61 of file CertificateOverviewTable.php.
|
private |
Definition at line 57 of file CertificateOverviewTable.php.
|
private |
Definition at line 54 of file CertificateOverviewTable.php.
|
private |
Definition at line 58 of file CertificateOverviewTable.php.
|
private |
Definition at line 62 of file CertificateOverviewTable.php.
|
private |
Definition at line 56 of file CertificateOverviewTable.php.
|
private |
Definition at line 63 of file CertificateOverviewTable.php.
|
private |
Definition at line 55 of file CertificateOverviewTable.php.
|
private |
Definition at line 65 of file CertificateOverviewTable.php.
|
private |
Definition at line 66 of file CertificateOverviewTable.php.