ListGUI class for media cast objects. More...
Inheritance diagram for ilObjMediaCastListGUI:
Collaboration diagram for ilObjMediaCastListGUI:Public Member Functions | |
| ilObjMediaCastListGUI () | |
| 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. | |
| setChildId ($a_child_id) | |
| getChildId () | |
ListGUI class for media cast objects.
Definition at line 34 of file class.ilObjMediaCastListGUI.php.
| ilObjMediaCastListGUI::getChildId | ( | ) |
Definition at line 144 of file class.ilObjMediaCastListGUI.php.
{
return $this->child_id;
}
| ilObjMediaCastListGUI::getCommandFrame | ( | $ | a_cmd | ) |
Get command target frame.
| string | $a_cmd command |
Reimplemented from ilObjectListGUI.
Definition at line 85 of file class.ilObjMediaCastListGUI.php.
References ilFrameTargetInfo::_getFrame().
{
switch($a_cmd)
{
default:
$frame = ilFrameTargetInfo::_getFrame("MainContent");
break;
}
return $frame;
}
Here is the call graph for this function:| ilObjMediaCastListGUI::getCommandLink | ( | $ | a_cmd | ) |
Get command link url.
| int | $a_ref_id reference id | |
| string | $a_cmd command |
Reimplemented from ilObjectListGUI.
Definition at line 132 of file class.ilObjMediaCastListGUI.php.
{
// separate method for this line
$cmd_link = "ilias.php?baseClass=ilMediaCastHandlerGUI&ref_id=".$this->ref_id."&cmd=$a_cmd";
return $cmd_link;
}
| ilObjMediaCastListGUI::getProperties | ( | ) |
Get item properties.
Definition at line 107 of file class.ilObjMediaCastListGUI.php.
References $lng, and ilObjMediaCastAccess::_lookupOnline().
{
global $lng, $ilUser;
$props = array();
include_once("./Modules/MediaCast/classes/class.ilObjMediaCastAccess.php");
if (!ilObjMediaCastAccess::_lookupOnline($this->obj_id))
{
$props[] = array("alert" => true, "property" => $lng->txt("status"),
"value" => $lng->txt("offline"));
}
return $props;
}
Here is the call graph for this function:| ilObjMediaCastListGUI::ilObjMediaCastListGUI | ( | ) |
constructor
Definition at line 39 of file class.ilObjMediaCastListGUI.php.
References ilObjectListGUI::ilObjectListGUI().
{
$this->ilObjectListGUI();
}
Here is the call graph for this function:| ilObjMediaCastListGUI::init | ( | ) |
initialisation
Reimplemented from ilObjectListGUI.
Definition at line 47 of file class.ilObjMediaCastListGUI.php.
References ilObjMediaCastAccess::_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 = "ilobjmediacastgui";
// general commands array
include_once('./Modules/MediaCast/classes/class.ilObjMediaCastAccess.php');
$this->commands = ilObjMediaCastAccess::_getCommands();
}
Here is the call graph for this function:| ilObjMediaCastListGUI::initItem | ( | $ | a_ref_id, | |
| $ | a_obj_id, | |||
| $ | a_title = "", |
|||
| $ | a_description = "" | |||
| ) |
inititialize new item
| 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.ilObjMediaCastListGUI.php.
{
parent::initItem($a_ref_id, $a_obj_id, $a_title, $a_description);
}
| ilObjMediaCastListGUI::setChildId | ( | $ | a_child_id | ) |
Definition at line 140 of file class.ilObjMediaCastListGUI.php.
{
$this->child_id = $a_child_id;
}
1.7.1