ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
interface.ilTermsOfServiceDocumentEvaluation.php
Go to the documentation of this file.
1 <?php declare(strict_types=1);
2 /* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
9 {
16 
22  public function document() : ilTermsOfServiceSignableDocument;
23 
27  public function hasDocument() : bool;
28 
34  public function evaluateDocument(ilTermsOfServiceSignableDocument $document) : bool;
35 }
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.