|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Collaboration diagram for ILIAS\LegalDocuments\Provide\ProvideDocument:Public Member Functions | |
| __construct (private readonly string $id, private readonly DocumentRepository $document_repository, private readonly SelectionMap $conditions, private readonly array $content_as_component, private readonly Container $container,) | |
| table (object $gui, ?EditLinks $edit_links=null) | |
| chooseDocumentFor (ilObjUser $user) | |
| documentMatches (Document $document, ilObjUser $user) | |
| repository () | |
| hash () | |
| toCondition (CriterionContent $content) | |
| conditionGroups (?CriterionContent $criterion=null) | |
| validateCriteriaContent (array $criteria, CriterionContent $content) | |
| contentAsComponent (DocumentContent $content) | |
Data Fields | |
| const | CRITERION_ALREADY_EXISTS = 'Criterion already exists.' |
| const | CRITERION_WOULD_NEVER_MATCH = 'Criterion would never match.' |
Private Member Functions | |
| validateAgainst (Result $b, Criterion $a) | |
| find (Closure $predicate, array $array) | |
| @template A More... | |
| any (Closure $predicate, array $array) | |
| @template A More... | |
| all (Closure $predicate, array $array) | |
| @template A More... | |
Definition at line 45 of file ProvideDocument.php.
| ILIAS\LegalDocuments\Provide\ProvideDocument::__construct | ( | private readonly string | $id, |
| private readonly DocumentRepository | $document_repository, | ||
| private readonly SelectionMap | $conditions, | ||
| private readonly array | $content_as_component, | ||
| private readonly Container | $container | ||
| ) |
| array<string,Closure(CriterionContent) | Component $content_as_component |
Definition at line 53 of file ProvideDocument.php.
|
private |
@template A
| Closure(A) | bool $predicate |
| list<A> | $array |
Definition at line 197 of file ProvideDocument.php.
References ILIAS\LegalDocuments\Provide\ProvideDocument\any().
Referenced by ILIAS\LegalDocuments\Provide\ProvideDocument\documentMatches().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
@template A
| Closure(A) | bool $predicate |
| list<A> | $array |
Definition at line 187 of file ProvideDocument.php.
References ILIAS\LegalDocuments\Provide\ProvideDocument\find().
Referenced by ILIAS\LegalDocuments\Provide\ProvideDocument\all().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\LegalDocuments\Provide\ProvideDocument::chooseDocumentFor | ( | ilObjUser | $user | ) |
Definition at line 83 of file ProvideDocument.php.
References ILIAS\LegalDocuments\Provide\ProvideDocument\documentMatches(), and ILIAS\LegalDocuments\Provide\ProvideDocument\find().
Here is the call graph for this function:| ILIAS\LegalDocuments\Provide\ProvideDocument::conditionGroups | ( | ?CriterionContent | $criterion = null | ) |
Definition at line 117 of file ProvideDocument.php.
References ILIAS\LegalDocuments\SelectionMap\choices(), and ILIAS\LegalDocuments\ConditionDefinition\formGroup().
Here is the call graph for this function:| ILIAS\LegalDocuments\Provide\ProvideDocument::contentAsComponent | ( | DocumentContent | $content | ) |
Definition at line 145 of file ProvideDocument.php.
References ILIAS\LegalDocuments\Value\DocumentContent\type().
Here is the call graph for this function:| ILIAS\LegalDocuments\Provide\ProvideDocument::documentMatches | ( | Document | $document, |
| ilObjUser | $user | ||
| ) |
Definition at line 91 of file ProvideDocument.php.
References $c, ILIAS\LegalDocuments\Provide\ProvideDocument\all(), ILIAS\LegalDocuments\Value\Document\criteria(), and ILIAS\LegalDocuments\Provide\ProvideDocument\toCondition().
Referenced by ILIAS\LegalDocuments\Provide\ProvideDocument\chooseDocumentFor().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
@template A
| Closure(A) | bool $predicate |
| list<A> | $array |
Definition at line 171 of file ProvideDocument.php.
Referenced by ILIAS\LegalDocuments\Provide\ProvideDocument\any(), and ILIAS\LegalDocuments\Provide\ProvideDocument\chooseDocumentFor().
Here is the caller graph for this function:| ILIAS\LegalDocuments\Provide\ProvideDocument::hash | ( | ) |
Definition at line 104 of file ProvideDocument.php.
| ILIAS\LegalDocuments\Provide\ProvideDocument::repository | ( | ) |
Definition at line 99 of file ProvideDocument.php.
Referenced by ILIAS\LegalDocuments\SlotConstructor\history().
Here is the caller graph for this function:| ILIAS\LegalDocuments\Provide\ProvideDocument::table | ( | object | $gui, |
| ?EditLinks | $edit_links = null |
||
| ) |
Definition at line 62 of file ProvideDocument.php.
References ILIAS\LegalDocuments\Provide\ProvideDocument\toCondition().
Here is the call graph for this function:| ILIAS\LegalDocuments\Provide\ProvideDocument::toCondition | ( | CriterionContent | $content | ) |
Definition at line 109 of file ProvideDocument.php.
References ILIAS\LegalDocuments\Value\CriterionContent\type().
Referenced by ILIAS\LegalDocuments\Provide\ProvideDocument\documentMatches(), and ILIAS\LegalDocuments\Provide\ProvideDocument\table().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 150 of file ProvideDocument.php.
References Vendor\Package\$a, Vendor\Package\$b, and if.
Referenced by ILIAS\LegalDocuments\Provide\ProvideDocument\validateCriteriaContent().
Here is the caller graph for this function:| ILIAS\LegalDocuments\Provide\ProvideDocument::validateCriteriaContent | ( | array | $criteria, |
| CriterionContent | $content | ||
| ) |
| list<Criterion> | $criteria |
Definition at line 136 of file ProvideDocument.php.
References ILIAS\LegalDocuments\Provide\ProvideDocument\validateAgainst().
Here is the call graph for this function:| const ILIAS\LegalDocuments\Provide\ProvideDocument::CRITERION_ALREADY_EXISTS = 'Criterion already exists.' |
Definition at line 47 of file ProvideDocument.php.
Referenced by ILIAS\LegalDocuments\test\Provide\ProvideDocumentTest\testDuplicateCriteriaContent().
| const ILIAS\LegalDocuments\Provide\ProvideDocument::CRITERION_WOULD_NEVER_MATCH = 'Criterion would never match.' |
Definition at line 48 of file ProvideDocument.php.
Referenced by ILIAS\LegalDocuments\test\Provide\ProvideDocumentTest\testNeverMatchingCriteriaContent().