Class ilObjMediaPoolListGUI. More...
Public Member Functions | |
ilObjMediaPoolListGUI () | |
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. |
Class ilObjMediaPoolListGUI.
/
Definition at line 37 of file class.ilObjMediaPoolListGUI.php.
ilObjMediaPoolListGUI::getCommandFrame | ( | $ | a_cmd | ) |
Get command target frame.
string | $a_cmd command |
Reimplemented from ilObjectListGUI.
Definition at line 89 of file class.ilObjMediaPoolListGUI.php.
References ilFrameTargetInfo::_getFrame().
{ switch($a_cmd) { case "": $frame = ilFrameTargetInfo::_getFrame("MainContent"); break; default: } return $frame; }
ilObjMediaPoolListGUI::getCommandLink | ( | $ | a_cmd | ) |
Get command link url.
int | $a_ref_id reference id | |
string | $a_cmd command |
Reimplemented from ilObjectListGUI.
Definition at line 130 of file class.ilObjMediaPoolListGUI.php.
{ // separate method for this line $cmd_link = "content/mep_edit.php?ref_id=".$this->ref_id; return $cmd_link; }
ilObjMediaPoolListGUI::getProperties | ( | ) |
Get item properties.
Definition at line 113 of file class.ilObjMediaPoolListGUI.php.
References $lng.
{ global $lng, $ilUser; $props = array(); return $props; }
ilObjMediaPoolListGUI::ilObjMediaPoolListGUI | ( | ) |
constructor
Definition at line 43 of file class.ilObjMediaPoolListGUI.php.
References ilObjectListGUI::ilObjectListGUI().
{ $this->ilObjectListGUI(); }
ilObjMediaPoolListGUI::init | ( | ) |
initialisation
Reimplemented from ilObjectListGUI.
Definition at line 51 of file class.ilObjMediaPoolListGUI.php.
References ilObjMediaPoolAccess::_getCommands().
{ $this->delete_enabled = true; $this->cut_enabled = true; $this->subscribe_enabled = true; $this->link_enabled = true; $this->payment_enabled = false; $this->type = "mep"; $this->gui_class_name = "ilobjmediapoolgui"; // general commands array include_once('class.ilObjMediaPoolAccess.php'); $this->commands = ilObjMediaPoolAccess::_getCommands(); }
ilObjMediaPoolListGUI::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 76 of file class.ilObjMediaPoolListGUI.php.
{ parent::initItem($a_ref_id, $a_obj_id, $a_title, $a_description); }