ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
◀ ilDoc Overview
class.ilTermsCondition.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
12
class
ilTermsCondition
13
{
14
var
$tpl
=
null
;
15
var
$user_obj
=
null
;
16
17
function
ilTermsCondition
(&
$user_obj
)
18
{
19
global
$tpl
;
20
21
define(
'DEFAULT_LANG'
,
'de'
);
22
23
$this->user_obj =
$user_obj
;
24
$this->tpl =
$tpl
;
25
}
26
27
function
show
()
28
{
29
$lang
= $this->user_obj->getLanguage();
30
31
if
(file_exists($this->tpl->getTemplatePath(
'tpl.pay_terms_conditions_'
.$lang.
'.html'
,
false
)))
32
{
33
$this->tpl->addBlockFile(
"CONTENT"
,
"content"
,
'tpl.pay_terms_conditions_'
.
$lang
.
'.html'
,
'Services/Payment'
);
34
$this->tpl->touchBlock(
'tc'
);
35
}
36
else
37
{
38
$this->tpl->addBlockFile(
"CONTENT"
,
"content"
,
'tpl.pay_terms_conditions_'
.DEFAULT_LANG.
'.html'
,
'Services/Payment'
);
39
$this->tpl->touchBlock(
'tc'
);
40
}
41
}
42
}
43
?>
ilTermsCondition
Definition:
class.ilTermsCondition.php:13
ilTermsCondition\$tpl
$tpl
Definition:
class.ilTermsCondition.php:14
ilTermsCondition\ilTermsCondition
ilTermsCondition(&$user_obj)
Definition:
class.ilTermsCondition.php:17
ilTermsCondition\$user_obj
$user_obj
Definition:
class.ilTermsCondition.php:15
ilTermsCondition\show
show()
Definition:
class.ilTermsCondition.php:27
$lang
$lang
Definition:
inc.setup_header.php:116
Services
Payment
classes
class.ilTermsCondition.php
Generated on Wed Sep 24 2025 19:01:01 for ILIAS by
1.9.4 (using
Doxyfile
)