Public Member Functions

ilHelpGUI Class Reference

Help GUI class. More...

Public Member Functions

 ilHelpGUI ()
 constructor
executeCommand ()
 execute command
 showHelp ()
 redirect to help page

Detailed Description

Help GUI class.

Author:
Alex Killing <alex.killing@gmx.de>
Version:
Id:
class.ilHelpGUI.php 8677 2005-09-18 20:54:49Z akill

Definition at line 32 of file class.ilHelpGUI.php.


Member Function Documentation

& ilHelpGUI::executeCommand (  ) 

execute command

Definition at line 48 of file class.ilHelpGUI.php.

References $cmd.

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

ilHelpGUI::ilHelpGUI (  ) 

constructor

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

References $ilCtrl.

        {
                global $ilCtrl;
                                
                $this->ctrl =& $ilCtrl;
        }

ilHelpGUI::showHelp (  ) 

redirect to help page

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

References ilUtil::redirect().

        {
                global $ilHelp;
                
                if ($target = $ilHelp->getHelpPage())
                {
                        ilUtil::redirect($target);
                }
                else
                {
                        echo "Could not find help files.";
                }
        }

Here is the call graph for this function:


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