ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
interface.ilTermsOfServiceDocumentEvaluation.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
26 {
33 
39  public function document(): ilTermsOfServiceSignableDocument;
40 
41  public function hasDocument(): bool;
42 
48  public function evaluateDocument(ilTermsOfServiceSignableDocument $document): bool;
49 }
document()
Determines a document based on the context of the concrete implementation.
Interface ilTermsOfServiceDocumentEvaluation.
evaluateDocument(ilTermsOfServiceSignableDocument $document)
Evaluates the passed document for the context given in the concrete implementation.
Interface ilTermsOfServiceSignableDocument.
withContextUser(ilObjUser $user)
Returns an evaluator like this with the passed context user.