|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Collaboration diagram for ILIAS\LegalDocuments\Administration:Public Member Functions | |
| __construct (private readonly Config $config, private readonly Container $container, private readonly UI $ui, ?Closure $confirmation=null) | |
| deleteDocumentsConfirmation (string $form_link, string $submit_command, string $cancel_command, array $documents) | |
| deleteDocuments (array $documents) | |
| withDocumentAndCriterion (Closure $proc) | |
| retrieveDocuments () | |
| retrieveIds () | |
| idOrHash (object $gui, Closure $then) | |
| targetWithDoc (object $gui, Document $document, string $cmd, string $method='getLinkTarget') | |
| targetWithDocAndCriterion (object $gui, Document $document, Criterion $criterion, string $cmd, string $method='getLinkTarget') | |
| willLinkWith ($gui, array $parameters=[]) | |
| withFormData (Form $form, Closure $then) | |
| find (Closure $predicate, array $array) | |
| A More... | |
| currentDocument () | |
| criterionForm (string $url, Document $document, ?CriterionContent $criterion=null) | |
| requireDocumentHash () | |
| tabs (array $tabs, array $run_after=[]) | |
| uploadContent () | |
| setContent ($component) | |
| addDocumentButton (string $add_document_link) | |
| setVariable (string $variable, $component) | |
| render ($component) | |
| resetBox (DateTimeImmutable $reset_date, array $buttons=[]) | |
| resetButton (string $confirm_reset_link) | |
| documentForm (Closure $link, string $title, Closure $document_content, bool $may_be_new) | |
| saveDocumentOrder (array $documents, array $order_by_document) | |
| withDocumentsAndOrder (Closure $proc) | |
| A More... | |
| exitWithJsonResponse ($value) | |
| requireEditable () | |
| externalSettingsMessage (bool $enabled) | |
| isInvalidHTML (string $string) | |
| isValidHTML (string $string) | |
| canReadUserAdministration () | |
Private Member Functions | |
| canWriteUserAdministration () | |
| addTab (string $id, string $text, string $link, bool $can_access=true) | |
Private Attributes | |
| readonly Closure | $confirmation |
Definition at line 48 of file Administration.php.
| ILIAS\LegalDocuments\Administration::__construct | ( | private readonly Config | $config, |
| private readonly Container | $container, | ||
| private readonly UI | $ui, | ||
| ?Closure | $confirmation = null |
||
| ) |
| null|Closure() | Confirmation $confirmation |
Definition at line 56 of file Administration.php.
References ILIAS\UI\examples\MessageBox\Confirmation\confirmation().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::addDocumentButton | ( | string | $add_document_link | ) |
Definition at line 304 of file Administration.php.
References ILIAS\Repository\ui().
Here is the call graph for this function:
|
private |
Definition at line 483 of file Administration.php.
Referenced by ILIAS\LegalDocuments\Administration\tabs().
Here is the caller graph for this function:| ILIAS\LegalDocuments\Administration::canReadUserAdministration | ( | ) |
|
private |
Definition at line 478 of file Administration.php.
References USER_FOLDER_ID.
Referenced by ILIAS\LegalDocuments\Administration\externalSettingsMessage().
Here is the caller graph for this function:| ILIAS\LegalDocuments\Administration::criterionForm | ( | string | $url, |
| Document | $document, | ||
| ?CriterionContent | $criterion = null |
||
| ) |
Definition at line 242 of file Administration.php.
References ILIAS\LegalDocuments\Value\Document\content(), ILIAS\Repository\ui(), and ILIAS\UI\Implementation\Component\Input\withValue().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::currentDocument | ( | ) |
Definition at line 235 of file Administration.php.
Referenced by ILIAS\LegalDocuments\Administration\idOrHash(), and ILIAS\LegalDocuments\Administration\withDocumentAndCriterion().
Here is the caller graph for this function:| ILIAS\LegalDocuments\Administration::deleteDocuments | ( | array | $documents | ) |
| list<Document> | $documents |
Definition at line 84 of file Administration.php.
| ILIAS\LegalDocuments\Administration::deleteDocumentsConfirmation | ( | string | $form_link, |
| string | $submit_command, | ||
| string | $cancel_command, | ||
| array | $documents | ||
| ) |
| list<Document> | $documents |
Definition at line 68 of file Administration.php.
References ILIAS\UI\examples\MessageBox\Confirmation\confirmation(), and ILIAS\Repository\ui().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::documentForm | ( | Closure | $link, |
| string | $title, | ||
| Closure | $document_content, | ||
| bool | $may_be_new | ||
| ) |
| Closure(string) | string $link |
| Closure() | Result<DocumentContent> $document_content |
Definition at line 355 of file Administration.php.
References ILIAS\Repository\ui().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::exitWithJsonResponse | ( | $value | ) |
Definition at line 426 of file Administration.php.
References ILIAS\Filesystem\Stream\Streams\ofString().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::externalSettingsMessage | ( | bool | $enabled | ) |
Definition at line 445 of file Administration.php.
References ILIAS\LegalDocuments\Administration\canWriteUserAdministration(), ILIAS\Repository\ui(), USER_FOLDER_ID, and ILIAS\LegalDocuments\Administration\willLinkWith().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::find | ( | Closure | $predicate, |
| array | $array | ||
| ) |
A
| Closure(A) | bool $predicate |
| list<A> | $array |
Definition at line 221 of file Administration.php.
Referenced by ILIAS\LegalDocuments\Administration\withDocumentAndCriterion().
Here is the caller graph for this function:| ILIAS\LegalDocuments\Administration::idOrHash | ( | object | $gui, |
| Closure | $then | ||
| ) |
| Closure(Closure(string) | string, string, DocumentId, bool): mixed $then |
Definition at line 144 of file Administration.php.
References ILIAS\LegalDocuments\Administration\currentDocument(), ILIAS\LegalDocuments\Administration\requireDocumentHash(), and ILIAS\LegalDocuments\Administration\willLinkWith().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::isInvalidHTML | ( | string | $string | ) |
Definition at line 463 of file Administration.php.
References ILIAS\LegalDocuments\Administration\isValidHTML().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::isValidHTML | ( | string | $string | ) |
Definition at line 468 of file Administration.php.
Referenced by ILIAS\LegalDocuments\Administration\isInvalidHTML().
Here is the caller graph for this function:| ILIAS\LegalDocuments\Administration::render | ( | $component | ) |
| list<Component>|Component|string | $component |
Definition at line 323 of file Administration.php.
Referenced by ILIAS\LegalDocuments\Administration\setContent(), and ILIAS\LegalDocuments\Administration\setVariable().
Here is the caller graph for this function:| ILIAS\LegalDocuments\Administration::requireDocumentHash | ( | ) |
Definition at line 261 of file Administration.php.
Referenced by ILIAS\LegalDocuments\Administration\idOrHash().
Here is the caller graph for this function:| ILIAS\LegalDocuments\Administration::requireEditable | ( | ) |
Definition at line 438 of file Administration.php.
| ILIAS\LegalDocuments\Administration::resetBox | ( | DateTimeImmutable | $reset_date, |
| array | $buttons = [] |
||
| ) |
| array<Button> | $buttons |
Definition at line 334 of file Administration.php.
References ilDatePresentation\formatDate(), IL_CAL_UNIX, and ILIAS\Repository\ui().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::resetButton | ( | string | $confirm_reset_link | ) |
Definition at line 343 of file Administration.php.
References ILIAS\Repository\ui().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::retrieveDocuments | ( | ) |
Definition at line 118 of file Administration.php.
References ILIAS\LegalDocuments\Administration\retrieveIds().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::retrieveIds | ( | ) |
Definition at line 132 of file Administration.php.
References $r.
Referenced by ILIAS\LegalDocuments\Administration\retrieveDocuments().
Here is the caller graph for this function:| ILIAS\LegalDocuments\Administration::saveDocumentOrder | ( | array | $documents, |
| array | $order_by_document | ||
| ) |
| list<Document> | $documents |
| array<int,int> | $order_by_document |
Definition at line 375 of file Administration.php.
| ILIAS\LegalDocuments\Administration::setContent | ( | $component | ) |
| list<Component>|Component|string | $component |
Definition at line 299 of file Administration.php.
References ILIAS\LegalDocuments\Administration\render(), and ILIAS\Repository\ui().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::setVariable | ( | string | $variable, |
| $component | |||
| ) |
| list<Component>|Component | $component |
Definition at line 315 of file Administration.php.
References ILIAS\LegalDocuments\Administration\render(), and ILIAS\Repository\ui().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::tabs | ( | array | $tabs, |
| array | $run_after = [] |
||
| ) |
| list<array{0 | string, 1: string, 2: string}> $tabs |
| array<string,Closure() | void> $run_after |
Definition at line 270 of file Administration.php.
References ILIAS\LegalDocuments\Administration\addTab().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::targetWithDoc | ( | object | $gui, |
| Document | $document, | ||
| string | $cmd, | ||
| string | $method = 'getLinkTarget' |
||
| ) |
Definition at line 157 of file Administration.php.
References ILIAS\LegalDocuments\Value\Document\id(), and ILIAS\LegalDocuments\Administration\willLinkWith().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::targetWithDocAndCriterion | ( | object | $gui, |
| Document | $document, | ||
| Criterion | $criterion, | ||
| string | $cmd, | ||
| string | $method = 'getLinkTarget' |
||
| ) |
Definition at line 163 of file Administration.php.
References ILIAS\LegalDocuments\Value\Criterion\id(), ILIAS\LegalDocuments\Value\Document\id(), and ILIAS\LegalDocuments\Administration\willLinkWith().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::uploadContent | ( | ) |
Definition at line 280 of file Administration.php.
| ILIAS\LegalDocuments\Administration::willLinkWith | ( | $gui, | |
| array | $parameters = [] |
||
| ) |
| string | object | $gui | |
| array<int|string,string> | $parameters |
Definition at line 178 of file Administration.php.
Referenced by ILIAS\LegalDocuments\Administration\externalSettingsMessage(), ILIAS\LegalDocuments\Administration\idOrHash(), ILIAS\LegalDocuments\Administration\targetWithDoc(), and ILIAS\LegalDocuments\Administration\targetWithDocAndCriterion().
Here is the caller graph for this function:| ILIAS\LegalDocuments\Administration::withDocumentAndCriterion | ( | Closure | $proc | ) |
| Closure(Document,Criterion) | void $proc |
Definition at line 95 of file Administration.php.
References ILIAS\LegalDocuments\Administration\currentDocument(), ILIAS\LegalDocuments\Administration\find(), and ILIAS\Repository\int().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::withDocumentsAndOrder | ( | Closure | $proc | ) |
A
| Closure(list<Document>,array<int,int>) | A $proc |
Definition at line 394 of file Administration.php.
| ILIAS\LegalDocuments\Administration::withFormData | ( | Form | $form, |
| Closure | $then | ||
| ) |
| Closure(array) | void $then |
Definition at line 199 of file Administration.php.
References $data, ILIAS\UI\Component\Input\Container\Container\getData(), and ILIAS\UI\Component\Input\Container\Container\withRequest().
Here is the call graph for this function:
|
private |
Definition at line 51 of file Administration.php.