ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
|
Public Member Functions | |
__construct (private readonly Closure $criterion_as_component, private readonly DocumentRepository $repository, private readonly UI $ui, private readonly DocumentModal $modal, private readonly object $gui, private readonly ?EditLinks $edit_links=null, ServerRequestInterface|RequestInterface|null $request=null, ?Factory $data_factory=null, ?ilCtrlInterface $ctrl=null, ?Renderer $ui_renderer=null, ?ilObjUser $user=null) | |
getRows (OrderingRowBuilder $row_builder, array $visible_column_ids) | |
This is called by the (ordering-)table to retrieve rows; map data-records to rows using the $row_builder e.g. More... | |
criterionName (Criterion $criterion) | |
getTotalRowCount (?array $filter_data, ?array $additional_parameters) | |
render () | |
Data Fields | |
const | CMD_EDIT_DOCUMENT = 'editDocument' |
const | CMD_DELETE_DOCUMENT = 'deleteDocument' |
const | CMD_DELETE_DOCUMENTS = 'deleteDocuments' |
const | CMD_ADD_CRITERION = 'addCriterion' |
Private Member Functions | |
buildTable () | |
buildTableRow (OrderingRowBuilder $row_builder, Document $document) | |
buildTableActions () | |
Private Attributes | |
readonly ServerRequestInterface RequestInterface | $request |
readonly Factory | $data_factory |
readonly ilCtrlInterface | $ctrl |
readonly Ordering | $table |
readonly Renderer | $ui_renderer |
ilObjUser | $user |
DateTimeZone | $usr_timezone |
Definition at line 48 of file DocumentTable.php.
ILIAS\LegalDocuments\Table\DocumentTable::__construct | ( | private readonly Closure | $criterion_as_component, |
private readonly DocumentRepository | $repository, | ||
private readonly UI | $ui, | ||
private readonly DocumentModal | $modal, | ||
private readonly object | $gui, | ||
private readonly ?EditLinks | $edit_links = null , |
||
ServerRequestInterface|RequestInterface|null | $request = null , |
||
?Factory | $data_factory = null , |
||
?ilCtrlInterface | $ctrl = null , |
||
?Renderer | $ui_renderer = null , |
||
?ilObjUser | $user = null |
||
) |
Definition at line 63 of file DocumentTable.php.
References $DIC, ILIAS\LegalDocuments\Table\DocumentTable\buildTable(), ILIAS\Repository\ctrl(), and ILIAS\Repository\user().
|
private |
Definition at line 87 of file DocumentTable.php.
References ILIAS\LegalDocuments\Table\DocumentTable\$table, ILIAS\LegalDocuments\Table\DocumentTable\buildTableActions(), ilCalendarSettings\TIME_FORMAT_12, ILIAS\Repository\ui(), and ILIAS\Repository\user().
Referenced by ILIAS\LegalDocuments\Table\DocumentTable\__construct().
|
private |
Definition at line 187 of file DocumentTable.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\ui().
Referenced by ILIAS\LegalDocuments\Table\DocumentTable\buildTable().
|
private |
Definition at line 127 of file DocumentTable.php.
References ILIAS\UI\Component\Table\OrderingRowBuilder\buildOrderingRow(), ILIAS\LegalDocuments\Value\Document\content(), ILIAS\LegalDocuments\Value\Document\criteria(), ILIAS\LegalDocuments\Table\DocumentTable\criterionName(), ILIAS\LegalDocuments\Value\Document\id(), ILIAS\LegalDocuments\Value\Document\meta(), ILIAS\Repository\modal(), and ILIAS\Repository\ui().
Referenced by ILIAS\LegalDocuments\Table\DocumentTable\getRows().
ILIAS\LegalDocuments\Table\DocumentTable::criterionName | ( | Criterion | $criterion | ) |
Definition at line 169 of file DocumentTable.php.
References ILIAS\LegalDocuments\Value\Criterion\content().
Referenced by ILIAS\LegalDocuments\Table\DocumentTable\buildTableRow().
ILIAS\LegalDocuments\Table\DocumentTable::getRows | ( | OrderingRowBuilder | $row_builder, |
array | $visible_column_ids | ||
) |
This is called by the (ordering-)table to retrieve rows; map data-records to rows using the $row_builder e.g.
yield $row_builder->buildOrderingRow($row_id, $record).
Implements ILIAS\UI\Component\Table\OrderingRetrieval.
Definition at line 118 of file DocumentTable.php.
References ILIAS\LegalDocuments\Table\DocumentTable\buildTableRow(), and ILIAS\UI\examples\Deck\repository().
ILIAS\LegalDocuments\Table\DocumentTable::getTotalRowCount | ( | ?array | $filter_data, |
?array | $additional_parameters | ||
) |
Definition at line 174 of file DocumentTable.php.
References ILIAS\UI\examples\Deck\repository().
ILIAS\LegalDocuments\Table\DocumentTable::render | ( | ) |
Definition at line 179 of file DocumentTable.php.
|
private |
Definition at line 57 of file DocumentTable.php.
|
private |
Definition at line 56 of file DocumentTable.php.
|
private |
Definition at line 55 of file DocumentTable.php.
|
private |
Definition at line 58 of file DocumentTable.php.
Referenced by ILIAS\LegalDocuments\Table\DocumentTable\buildTable().
|
private |
Definition at line 59 of file DocumentTable.php.
|
private |
Definition at line 60 of file DocumentTable.php.
|
private |
Definition at line 61 of file DocumentTable.php.
const ILIAS\LegalDocuments\Table\DocumentTable::CMD_ADD_CRITERION = 'addCriterion' |
Definition at line 53 of file DocumentTable.php.
const ILIAS\LegalDocuments\Table\DocumentTable::CMD_DELETE_DOCUMENT = 'deleteDocument' |
Definition at line 51 of file DocumentTable.php.
const ILIAS\LegalDocuments\Table\DocumentTable::CMD_DELETE_DOCUMENTS = 'deleteDocuments' |
Definition at line 52 of file DocumentTable.php.
const ILIAS\LegalDocuments\Table\DocumentTable::CMD_EDIT_DOCUMENT = 'editDocument' |
Definition at line 50 of file DocumentTable.php.