ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ 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
require_once
'Services/TermsOfService/classes/class.ilTermsOfServiceFileSystemDocument.php'
;
18
$document =
new
ilTermsOfServiceFileSystemDocument
($lng);
19
$document->determine();
20
}
catch
(
ilTermsOfServiceNoSignableDocumentFoundException
$e) {
21
require_once
'Services/TermsOfService/classes/class.ilTermsOfServiceNullDocument.php'
;
22
$document =
new
ilTermsOfServiceNullDocument
();
23
}
24
25
return
$document;
26
}
27
}
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
ilTermsOfServiceSignableDocumentFactory
Definition:
class.ilTermsOfServiceSignableDocumentFactory.php:8
Services
TermsOfService
classes
class.ilTermsOfServiceSignableDocumentFactory.php
Generated on Sat Jan 18 2025 19:01:38 for ILIAS by
1.8.13 (using
Doxyfile
)