Public Member Functions

ilObjExerciseListGUI Class Reference

Class ilObjExerciseListGUI. More...

Inheritance diagram for ilObjExerciseListGUI:
Collaboration diagram for ilObjExerciseListGUI:

Public Member Functions

 ilObjExerciseListGUI ()
 constructor
 init ()
 initialisation
 initItem ($a_ref_id, $a_obj_id, $a_title="", $a_description="")
 inititialize new item
 getCommandFrame ($a_cmd)
 Get command target frame.
 getProperties ()
 Get item properties.
 getCommandLink ($a_cmd)
 Get command link url.

Detailed Description

Class ilObjExerciseListGUI.

Author:
Alex Killing <alex.killing@gmx.de>
Id:
class.ilObjExerciseListGUI.php 7867 2005-06-15 14:48:59Z shofmann

Definition at line 37 of file class.ilObjExerciseListGUI.php.


Member Function Documentation

ilObjExerciseListGUI::getCommandFrame ( a_cmd  ) 

Get command target frame.

Parameters:
string $a_cmd command
Returns:
string command target frame

Reimplemented from ilObjectListGUI.

Definition at line 88 of file class.ilObjExerciseListGUI.php.

References ilFrameTargetInfo::_getFrame().

        {
                switch($a_cmd)
                {
                        case "":
                                $frame = ilFrameTargetInfo::_getFrame("RepositoryContent");
                                break;

                        default:
                }

                return $frame;
        }

Here is the call graph for this function:

ilObjExerciseListGUI::getCommandLink ( a_cmd  ) 

Get command link url.

Parameters:
int $a_ref_id reference id
string $a_cmd command

Reimplemented from ilObjectListGUI.

Definition at line 129 of file class.ilObjExerciseListGUI.php.

        {
                // separate method for this line
                $cmd_link = "exercise.php?ref_id=".$this->ref_id."&cmd=$a_cmd";

                return $cmd_link;
        }

ilObjExerciseListGUI::getProperties (  ) 

Get item properties.

Returns:
array array of property arrays: "alert" (boolean) => display as an alert property (usually in red) "property" (string) => property name "value" (string) => property value

Definition at line 112 of file class.ilObjExerciseListGUI.php.

References $ilUser, and $lng.

        {
                global $lng, $ilUser;

                $props = array();

                return $props;
        }

ilObjExerciseListGUI::ilObjExerciseListGUI (  ) 

constructor

Definition at line 43 of file class.ilObjExerciseListGUI.php.

References ilObjectListGUI::ilObjectListGUI().

        {
                $this->ilObjectListGUI();
        }

Here is the call graph for this function:

ilObjExerciseListGUI::init (  ) 

initialisation

Reimplemented from ilObjectListGUI.

Definition at line 51 of file class.ilObjExerciseListGUI.php.

References ilObjExerciseAccess::_getCommands().

        {
                $this->delete_enabled = true;
                $this->cut_enabled = true;
                $this->subscribe_enabled = true;
                $this->link_enabled = true;
                $this->payment_enabled = false;
                $this->type = "exc";
                $this->gui_class_name = "ilobjexercisegui";
                
                // general commands array
                include_once('class.ilObjExerciseAccess.php');
                $this->commands = ilObjExerciseAccess::_getCommands();
        }

Here is the call graph for this function:

ilObjExerciseListGUI::initItem ( a_ref_id,
a_obj_id,
a_title = "",
a_description = "" 
)

inititialize new item

Parameters:
int $a_ref_id reference id
int $a_obj_id object id
string $a_title title
string $a_description description

Reimplemented from ilObjectListGUI.

Definition at line 75 of file class.ilObjExerciseListGUI.php.

        {
                parent::initItem($a_ref_id, $a_obj_id, $a_title, $a_description);
        }


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