ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilTermsOfServiceSignableDocumentFactory Class Reference
+ Collaboration diagram for ilTermsOfServiceSignableDocumentFactory:

Static Public Member Functions

static getByLanguageObject (ilLanguage $lng)
 

Detailed Description

Author
Michael Jansen mjans.nosp@m.en@d.nosp@m.ataba.nosp@m.y.de
Version
$Id$

Definition at line 8 of file class.ilTermsOfServiceSignableDocumentFactory.php.

Member Function Documentation

◆ getByLanguageObject()

static ilTermsOfServiceSignableDocumentFactory::getByLanguageObject ( ilLanguage  $lng)
static
Parameters
ilLanguage$lng
Returns
ilTermsOfServiceSignableDocument

Definition at line 14 of file class.ilTermsOfServiceSignableDocumentFactory.php.

Referenced by ilAccountRegistrationGUI\__initForm(), ilStartUpGUI\getAcceptance(), ilAccountRegistrationGUI\saveForm(), ilStartUpGUI\showRegistrationLinks(), and ilPersonalProfileGUI\showUserAgreement().

15  {
16  try {
17  require_once 'Services/TermsOfService/classes/class.ilTermsOfServiceFileSystemDocument.php';
18  $document = new ilTermsOfServiceFileSystemDocument($lng);
19  $document->determine();
21  require_once 'Services/TermsOfService/classes/class.ilTermsOfServiceNullDocument.php';
22  $document = new ilTermsOfServiceNullDocument();
23  }
24 
25  return $document;
26  }
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: