Public Member Functions

ilObjExternalFeedListGUI Class Reference

ListGUI class for media cast objects. More...

Inheritance diagram for ilObjExternalFeedListGUI:
Collaboration diagram for ilObjExternalFeedListGUI:

Public Member Functions

 ilObjExternalFeedListGUI ()
 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.
 isSideBlock ()
 Returns whether current item is a block in a side column or not.

Detailed Description

ListGUI class for media cast objects.

Author:
Alex Killing <alex.killing@gmx.de>
Version:
$Id$

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


Member Function Documentation

ilObjExternalFeedListGUI::getCommandFrame ( a_cmd  ) 

Get command target frame.

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

Reimplemented from ilObjectListGUI.

Definition at line 85 of file class.ilObjExternalFeedListGUI.php.

References ilFrameTargetInfo::_getFrame().

        {
                switch($a_cmd)
                {
                        default:
                                $frame = ilFrameTargetInfo::_getFrame("MainContent");
                                break;
                }

                return $frame;
        }

Here is the call graph for this function:

ilObjExternalFeedListGUI::getCommandLink ( a_cmd  ) 

Get command link url.

Parameters:
int $a_ref_id reference id
string $a_cmd command

Reimplemented from ilObjectListGUI.

Definition at line 128 of file class.ilObjExternalFeedListGUI.php.

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

                return $cmd_link;
        }

ilObjExternalFeedListGUI::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 107 of file class.ilObjExternalFeedListGUI.php.

References $lng.

        {
                global $lng, $ilUser;

                $props = array();
                //$props[] = array(
                //      "property" => $this->lng->txt("exc_time_to_send"),
                //      "value" => ilObjExerciseAccess::_lookupRemainingWorkingTimeString($this->obj_id)
                //);

                return $props;
        }

ilObjExternalFeedListGUI::ilObjExternalFeedListGUI (  ) 

constructor

Definition at line 39 of file class.ilObjExternalFeedListGUI.php.

References ilObjectListGUI::ilObjectListGUI().

        {
                $this->ilObjectListGUI();
        }

Here is the call graph for this function:

ilObjExternalFeedListGUI::init (  ) 

initialisation

Reimplemented from ilObjectListGUI.

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

References ilObjExternalFeedAccess::_getCommands().

        {
                $this->delete_enabled = true;
                $this->cut_enabled = true;
                $this->subscribe_enabled = true;
                $this->link_enabled = true;
                $this->payment_enabled = false;
                $this->info_screen_enabled = true;
                $this->type = "mcst";
                $this->gui_class_name = "ilobjexternalfeedgui";
                
                // general commands array
                include_once('./Modules/ExternalFeed/classes/class.ilObjExternalFeedAccess.php');
                $this->commands = ilObjExternalFeedAccess::_getCommands();
        }

Here is the call graph for this function:

ilObjExternalFeedListGUI::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 72 of file class.ilObjExternalFeedListGUI.php.

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

ilObjExternalFeedListGUI::isSideBlock (  ) 

Returns whether current item is a block in a side column or not.

Reimplemented from ilObjectListGUI.

Definition at line 139 of file class.ilObjExternalFeedListGUI.php.

        {
                return true;
        }


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