function ilMediaCastTableGUI($a_parent_obj, $a_parent_cmd = "", $a_edit_order = false, $a_presentation_mode = false)
 {
     global $ilCtrl, $lng;
     $this->edit_order = (bool) $a_edit_order;
     $this->presentation_mode = (bool) $a_presentation_mode;
     parent::__construct($a_parent_obj, $a_parent_cmd);
     // Check whether download-buttons will be displayed
     $mediacast = new ilObjMediaCast($a_parent_obj->id);
     $this->downloadable = $mediacast->getDownloadable();
     if (!$this->presentation_mode) {
         $this->addColumn("", "", "1");
     }
     $this->addColumn($lng->txt("title"));
     $this->addColumn($lng->txt("properties"));
     if (!$this->edit_order) {
         $this->addColumn($lng->txt("mcst_play"), "", "320px");
     }
     $this->setFormAction($ilCtrl->getFormAction($a_parent_obj));
     $this->setRowTemplate("tpl.table_media_cast_row.html", "Modules/MediaCast");
     $this->setShowRowsSelector(true);
     // this messes up the db ordering, where the id is also taken into
     // account, if the creation date is the same (this happens e.g. on import)
     //		$this->setDefaultOrderField("creation_date");
     //		$this->setDefaultOrderDirection("desc");
 }