|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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, ?WrapperFactory $http_wrapper=null, ?Factory $refinery=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) | |
| @template 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) | |
| @template A More... | |
| exitWithJsonResponse ($value) | |
| requireEditable () | |
| externalSettingsMessage (bool $enabled) | |
| isInvalidHTML (string $string) | |
| isValidHTML (string $string) | |
| canReadUserAdministration () | |
Private Member Functions | |
| retrieveValueOrDefaultFromPost (string $key, Transformation $transformation, mixed $default=null) | |
| retrieveValueOrDefaultFromQuery (string $key, Transformation $transformation, mixed $default=null) | |
| canWriteUserAdministration () | |
| addTab (string $id, string $text, string $link, bool $can_access=true) | |
Private Attributes | |
| readonly Closure | $confirmation |
| WrapperFactory | $http_wrapper |
| Factory | $refinery |
Definition at line 54 of file Administration.php.
| ILIAS\LegalDocuments\Administration::__construct | ( | private readonly Config | $config, |
| private readonly Container | $container, | ||
| private readonly UI | $ui, | ||
| ?Closure | $confirmation = null, |
||
| ?WrapperFactory | $http_wrapper = null, |
||
| ?Factory | $refinery = null |
||
| ) |
| null|Closure() | Confirmation $confirmation |
Definition at line 64 of file Administration.php.
References ILIAS\LegalDocuments\Administration\$http_wrapper, ILIAS\UI\examples\MessageBox\Confirmation\confirmation(), and ILIAS\Repository\refinery().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::addDocumentButton | ( | string | $add_document_link | ) |
Definition at line 386 of file Administration.php.
References ILIAS\Repository\ui().
Here is the call graph for this function:
|
private |
Definition at line 571 of file Administration.php.
Referenced by ILIAS\LegalDocuments\Administration\tabs().
Here is the caller graph for this function:| ILIAS\LegalDocuments\Administration::canReadUserAdministration | ( | ) |
Definition at line 561 of file Administration.php.
References USER_FOLDER_ID.
|
private |
Definition at line 566 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 319 of file Administration.php.
References ILIAS\LegalDocuments\Value\Document\content(), and ILIAS\Repository\ui().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::currentDocument | ( | ) |
Definition at line 297 of file Administration.php.
References ILIAS\Repository\refinery(), and ILIAS\LegalDocuments\Administration\retrieveValueOrDefaultFromQuery().
Referenced by ILIAS\LegalDocuments\Administration\idOrHash(), and ILIAS\LegalDocuments\Administration\withDocumentAndCriterion().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\LegalDocuments\Administration::deleteDocuments | ( | array | $documents | ) |
| list<Document> | $documents |
Definition at line 96 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 80 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 437 of file Administration.php.
References ILIAS\Repository\ui().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::exitWithJsonResponse | ( | $value | ) |
Definition at line 511 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 530 of file Administration.php.
References ILIAS\LegalDocuments\Administration\canWriteUserAdministration(), ILIAS\Repository\ui(), and USER_FOLDER_ID.
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::find | ( | Closure | $predicate, |
| array | $array | ||
| ) |
@template A
| Closure(A) | bool $predicate |
| list<A> | $array |
Definition at line 283 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 206 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 551 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 556 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 405 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 343 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 523 of file Administration.php.
| ILIAS\LegalDocuments\Administration::resetBox | ( | DateTimeImmutable | $reset_date, |
| array | $buttons = [] |
||
| ) |
| array<Button> | $buttons |
Definition at line 416 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 425 of file Administration.php.
References ILIAS\Repository\ui().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::retrieveDocuments | ( | ) |
Definition at line 130 of file Administration.php.
References ILIAS\LegalDocuments\Administration\retrieveIds().
Here is the call graph for this function:| ILIAS\LegalDocuments\Administration::retrieveIds | ( | ) |
Definition at line 144 of file Administration.php.
References ILIAS\Repository\refinery(), ILIAS\LegalDocuments\Administration\retrieveValueOrDefaultFromPost(), and ILIAS\LegalDocuments\Administration\retrieveValueOrDefaultFromQuery().
Referenced by ILIAS\LegalDocuments\Administration\retrieveDocuments().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 181 of file Administration.php.
Referenced by ILIAS\LegalDocuments\Administration\retrieveIds().
Here is the caller graph for this function:
|
private |
Definition at line 192 of file Administration.php.
Referenced by ILIAS\LegalDocuments\Administration\currentDocument(), and ILIAS\LegalDocuments\Administration\retrieveIds().
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 460 of file Administration.php.
| ILIAS\LegalDocuments\Administration::setContent | ( | $component | ) |
| list<Component>|Component|string | $component |
Definition at line 381 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 397 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 352 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 219 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 225 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 362 of file Administration.php.
| ILIAS\LegalDocuments\Administration::willLinkWith | ( | $gui, | |
| array | $parameters = [] |
||
| ) |
| string | object | $gui | |
| array<int|string,string> | $parameters |
Definition at line 240 of file Administration.php.
Referenced by 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 107 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 | ) |
@template A
| Closure(list<Document>,array<int,int>) | A $proc |
Definition at line 479 of file Administration.php.
| ILIAS\LegalDocuments\Administration::withFormData | ( | Form | $form, |
| Closure | $then | ||
| ) |
| Closure(array) | void $then |
Definition at line 261 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 57 of file Administration.php.
|
private |
Definition at line 58 of file Administration.php.
Referenced by ILIAS\LegalDocuments\Administration\__construct().
|
private |
Definition at line 59 of file Administration.php.