ILIAS  release_7 Revision v7.30-3-g800a261c036
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
23
27 public function hasDocument() : bool;
28
34 public function evaluateDocument(ilTermsOfServiceSignableDocument $document) : bool;
35}
An exception for terminatinating execution or to throw for unit testing.
Interface ilTermsOfServiceDocumentEvaluation.
document()
Determines a document based on the context of the concrete implementation.
evaluateDocument(ilTermsOfServiceSignableDocument $document)
Evaluates the passed document for the context given in the concrete implementation.
withContextUser(ilObjUser $user)
Returns an evaluator like this with the passed context user.
Interface ilTermsOfServiceSignableDocument.