ILIAS  Release_3_10_x_branch Revision 61812
 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 33 of file class.ilTermsCondition.php.

Member Function Documentation

ilTermsCondition::ilTermsCondition ( $user_obj)

Definition at line 38 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 48 of file class.ilTermsCondition.php.

References $lang.

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

Field Documentation

ilTermsCondition::$tpl = null

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

Referenced by ilTermsCondition().

ilTermsCondition::$user_obj = null

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

Referenced by ilTermsCondition().


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