ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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(), and ilStartUpGUI\showRegistrationLinks().

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

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