ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilPaymentGUI Class Reference
+ Inheritance diagram for ilPaymentGUI:
+ Collaboration diagram for ilPaymentGUI:

Public Member Functions

 ilPaymentGUI (&$user_obj)
executeCommand ()
 execute command
 __forwardToDefault ()
 ilPaymentGUI (&$user_obj)
executeCommand ()
 execute command
 __forwardToDefault ()
- Public Member Functions inherited from ilPaymentBaseGUI
 ilPaymentBaseGUI ()
 setSection ($a_section)
 getSection ()
 setMainSection ($a_main_section)
 getMainSection ()
 buildHeader ()
 setTableGUIBasicData (&$tbl, &$result_set, $a_default_order_column= '')
 __buildStatusline ()
 __buildLocator ()
 __buildStylesheet ()
 __buildButtons ()

Data Fields

 $ctrl
 $user_obj
- Data Fields inherited from ilPaymentBaseGUI
 $ilias
 $lng
 $db
 $tpl
 $rbacsystem
 $tabs_gui
 $user_obj
 $section
 $main_section

Detailed Description

Definition at line 34 of file class.ilPayment.php.

Member Function Documentation

ilPaymentGUI::__forwardToDefault ( )

Definition at line 81 of file class.ilPayment.php.

Referenced by executeCommand().

{
$this->ctrl->redirectByClass('ilpaymentshoppingcartgui');
return true;
}

+ Here is the caller graph for this function:

ilPaymentGUI::__forwardToDefault ( )

Definition at line 116 of file class.ilPaymentGUI.php.

{
$this->ctrl->redirectByClass('ilpaymentshoppingcartgui');
return true;
}
& ilPaymentGUI::executeCommand ( )

execute command

Definition at line 55 of file class.ilPayment.php.

References $cmd, __forwardToDefault(), ilPaymentBaseGUI\buildHeader(), and ilPaymentBaseGUI\setSection().

{
global $tree;
$cmd = $this->ctrl->getCmd();
switch ($this->ctrl->getNextClass($this))
{
case 'ilpaymentshoppingcartgui':
$this->setSection($this->SECTION_SHOPPING_CART);
$this->buildHeader();
include_once './payment/classes/class.ilPaymentShoppingCartGUI.php';
$pt =& new ilPaymentShoppingCartGUI($this->user_obj);
$this->ctrl->forwardCommand($pt);
break;
default:
break;
}
}

+ Here is the call graph for this function:

& ilPaymentGUI::executeCommand ( )

execute command

Definition at line 57 of file class.ilPaymentGUI.php.

References $cmd, __forwardToDefault(), ilPaymentBaseGUI\buildHeader(), and ilPaymentBaseGUI\setSection().

{
global $tree;
$cmd = $this->ctrl->getCmd();
switch ($this->ctrl->getNextClass($this))
{
case 'ilpaymentshoppingcartgui':
$this->setSection($this->SECTION_SHOPPING_CART);
$this->buildHeader();
include_once './payment/classes/class.ilPaymentShoppingCartGUI.php';
$pt =& new ilPaymentShoppingCartGUI($this->user_obj);
$this->ctrl->forwardCommand($pt);
break;
case 'ilpaymentbuyedobjectsgui':
$this->setSection($this->SECTION_BUYED_OBJECTS);
$this->buildHeader();
include_once './payment/classes/class.ilPaymentBuyedObjectsGUI.php';
$pt =& new ilPaymentBuyedObjectsGUI($this->user_obj);
$this->ctrl->forwardCommand($pt);
break;
case 'ilpurchasebillgui':
$this->setSection($this->SECTION_BUYED_OBJECTS);
$this->buildHeader();
include_once './payment/classes/class.ilPurchaseBillGUI.php';
$pt =& new ilPurchaseBillGUI($this->user_obj);
$this->ctrl->forwardCommand($pt);
break;
case 'ilpurchasebmfgui':
$this->setSection($this->SECTION_BUYED_OBJECTS);
$this->buildHeader();
include_once './payment/classes/class.ilPurchaseBMFGUI.php';
$pt =& new ilPurchaseBMFGUI($this->user_obj);
$this->ctrl->forwardCommand($pt);
break;
default:
break;
}
}

+ Here is the call graph for this function:

ilPaymentGUI::ilPaymentGUI ( $user_obj)

Definition at line 40 of file class.ilPayment.php.

References $ilCtrl, $user_obj, ilPaymentBaseGUI\ilPaymentBaseGUI(), and ilPaymentBaseGUI\setMainSection().

{
global $ilCtrl;
$this->ctrl =& $ilCtrl;
$this->ilPaymentBaseGUI();
$this->setMainSection($this->BASE);
// Get user object
$this->user_obj =& $user_obj;
}

+ Here is the call graph for this function:

ilPaymentGUI::ilPaymentGUI ( $user_obj)

Definition at line 42 of file class.ilPaymentGUI.php.

References $ilCtrl, $user_obj, ilPaymentBaseGUI\ilPaymentBaseGUI(), and ilPaymentBaseGUI\setMainSection().

{
global $ilCtrl;
$this->ctrl =& $ilCtrl;
$this->ilPaymentBaseGUI();
$this->setMainSection($this->BASE);
// Get user object
$this->user_obj =& $user_obj;
}

+ Here is the call graph for this function:

Field Documentation

ilPaymentGUI::$ctrl

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

ilPaymentGUI::$user_obj

Definition at line 38 of file class.ilPayment.php.

Referenced by ilPaymentGUI().


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