ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilTermsCondition Class Reference
+ Collaboration diagram for ilTermsCondition:

Public Member Functions

 ilTermsCondition (&$user_obj)
 show ()

Data Fields

 $tpl = null
 $user_obj = null

Detailed Description

Definition at line 12 of file class.ilTermsCondition.php.

Member Function Documentation

ilTermsCondition::ilTermsCondition ( $user_obj)

Definition at line 17 of file class.ilTermsCondition.php.

References $tpl, and $user_obj.

{
global $tpl;
define('DEFAULT_LANG','de');
$this->user_obj = $user_obj;
$this->tpl = $tpl;
}
ilTermsCondition::show ( )

Definition at line 27 of file class.ilTermsCondition.php.

References $lang.

{
$lang = $this->user_obj->getLanguage();
if(file_exists($this->tpl->getTemplatePath('tpl.pay_terms_conditions_'.$lang.'.html',false)))
{
$this->tpl->addBlockFile("CONTENT", "content",'tpl.pay_terms_conditions_'.$lang.'.html','Services/Payment');
$this->tpl->touchBlock('tc');
}
else
{
$this->tpl->addBlockFile("CONTENT", "content",'tpl.pay_terms_conditions_'.DEFAULT_LANG.'.html','Services/Payment');
$this->tpl->touchBlock('tc');
}
}

Field Documentation

ilTermsCondition::$tpl = null

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

Referenced by ilTermsCondition().

ilTermsCondition::$user_obj = null

Definition at line 15 of file class.ilTermsCondition.php.

Referenced by ilTermsCondition().


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