Public Member Functions | Data Fields

ilLPGUI Class Reference

Public Member Functions

 ilLPGUI ($a_ref_id)
 Call this constructor with ref_id of the context in which the GUI has been started.
executeCommand ()
 execute command
 __parseMode ()

Data Fields

 $tpl = null
 $ctrl = null
 $ref_id = null

Detailed Description

Definition at line 47 of file class.ilLPGUI.php.


Member Function Documentation

ilLPGUI::__parseMode (  ) 

Definition at line 94 of file class.ilLPGUI.php.

        {
        }

& ilLPGUI::executeCommand (  ) 

execute command

Definition at line 79 of file class.ilLPGUI.php.

References $cmd.

        {
                $next_class = $this->ctrl->getNextClass();
                $this->ctrl->setReturn($this, "show");

                switch($next_class)
                {
                        default:
                                $cmd = $this->ctrl->getCmd("view");
                                $this->$cmd();
                                break;
                }
                return true;
        }

ilLPGUI::ilLPGUI ( a_ref_id  ) 

Call this constructor with ref_id of the context in which the GUI has been started.

This is used for different output behaviour. E.G ref_id = TRACKING_ID = 17: learning progress called from administration => 'listOfObjects' ref_id = 0: : learning progress called from personal desktop => 'listOfObjects', 'listOfProgress' ... ref_id = crs || lm ... : learning progress called from repository => 'listOfProgress', 'listOfSettings'

Definition at line 64 of file class.ilLPGUI.php.

References $ilCtrl, and $tpl.

        {
                global $tpl,$ilCtrl;

                $this->tpl =& $tpl;
                $this->ctrl =& $ilCtrl;

                $this->ref_id = $a_ref_id;

                $this->_parseMode();
        }


Field Documentation

ilLPGUI::$ctrl = null

Definition at line 50 of file class.ilLPGUI.php.

ilLPGUI::$ref_id = null

Definition at line 52 of file class.ilLPGUI.php.

ilLPGUI::$tpl = null

Definition at line 49 of file class.ilLPGUI.php.

Referenced by ilLPGUI().


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