Public Member Functions | Data Fields

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 ()

Data Fields

 $ctrl
 $user_obj

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 92 of file class.ilPaymentGUI.php.

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

                return true;
        }

& ilPaymentGUI::executeCommand (  ) 

execute command

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

References $cmd, $tree, __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;

                        default:
                                $this->__forwardToDefault();
                                break;
                }
        }

Here is the call graph for this function:

& ilPaymentGUI::executeCommand (  ) 

execute command

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

References $cmd, $tree, __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:
                                $this->__forwardToDefault();
                                break;
                }
        }

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:

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->);
                
                // 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

Reimplemented from ilPaymentBaseGUI.

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

Referenced by ilPaymentGUI().


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