ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilTermsOfServiceSignableDocumentFactory.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
8
class
ilTermsOfServiceSignableDocumentFactory
9
{
14
public
static
function
getByLanguageObject
(
ilLanguage
$lng
)
15
{
16
try
17
{
18
require_once
'Services/TermsOfService/classes/class.ilTermsOfServiceFileSystemDocument.php'
;
19
$document =
new
ilTermsOfServiceFileSystemDocument
($lng);
20
$document->determine();
21
}
22
catch
(
ilTermsOfServiceNoSignableDocumentFoundException
$e)
23
{
24
require_once
'Services/TermsOfService/classes/class.ilTermsOfServiceNullDocument.php'
;
25
$document =
new
ilTermsOfServiceNullDocument
();
26
}
27
28
return
$document;
29
}
30
}
ilTermsOfServiceSignableDocumentFactory\getByLanguageObject
static getByLanguageObject(ilLanguage $lng)
Definition:
class.ilTermsOfServiceSignableDocumentFactory.php:14
ilTermsOfServiceNoSignableDocumentFoundException
Definition:
class.ilTermsOfServiceNoSignableDocumentFoundException.php:10
ilTermsOfServiceNullDocument
Definition:
class.ilTermsOfServiceNullDocument.php:10
$lng
global $lng
Definition:
privfeed.php:17
ilLanguage
language handling
Definition:
class.ilLanguage.php:26
ilTermsOfServiceFileSystemDocument
Definition:
class.ilTermsOfServiceFileSystemDocument.php:10
php
ilTermsOfServiceSignableDocumentFactory
Definition:
class.ilTermsOfServiceSignableDocumentFactory.php:8
Services
TermsOfService
classes
class.ilTermsOfServiceSignableDocumentFactory.php
Generated on Fri Jan 17 2025 19:01:18 for ILIAS by
1.8.13 (using
Doxyfile
)