4include_once 
'Services/Table/classes/class.ilTable2GUI.php';
 
   27                $ilHelp->setScreenIdComponent(
"bookm");
 
   29                parent::__construct($a_ref);
 
   33                $this->
setRowTemplate(
'tpl.bookmark_administration_row.html', 
'Services/Bookmarks');
 
   35                $this->
addColumn($lng->txt(
'type'), 
'', 
'3%');
 
   36                $this->
addColumn($lng->txt(
'title'), 
'title', 
'84%');
 
   37                $this->
addColumn($lng->txt(
'actions'), 
'', 
'10%');
 
   39                $hash = (
$ilUser->prefs[
"screen_reader_optimization"])
 
   60                include_once(
"./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php");
 
   62                $current_selection_list->setListTitle($this->lng->txt(
"actions"));
 
   63                $current_selection_list->setId(
"act_".$a_data[
'obj_id']);
 
   66                $this->tpl->setVariable(
"VAL_ID", $a_data[
"obj_id"]);
 
   74                if ($a_data[
"type"] != 
"parent")
 
   76                        $hash = (
$ilUser->prefs[
"screen_reader_optimization"])
 
   80                        $ilCtrl->setParameter($this->parent_obj, 
"bmf_id", $this->parent_obj->id);
 
   81                        $ilCtrl->setParameter($this->parent_obj, 
"obj_id", $a_data[
"obj_id"]);
 
   82                        $edit_link = ($a_data[
"type"] == 
"bmf")
 
   83                                ? 
$ilCtrl->getLinkTarget($this->parent_obj, 
"editFormBookmarkFolder", $hash)
 
   84                                : 
$ilCtrl->getLinkTarget($this->parent_obj, 
"editFormBookmark", $hash);
 
   86                        $ilCtrl->clearParameters($this->parent_obj);
 
   87                        $ilCtrl->setParameter($this->parent_obj, 
"bm_id", $a_data[
'obj_id']);
 
   88                        $delete_link = 
$ilCtrl->getLinkTarget($this->parent_obj, 
'delete', $hash);
 
   89                        $sendmail_link = 
$ilCtrl->getLinkTarget($this->parent_obj, 
'sendmail', $hash);
 
   90                        $export_link = 
$ilCtrl->getLinkTarget($this->parent_obj, 
'export', $hash);
 
   94                        $current_selection_list->addItem($this->lng->txt(
'edit'), 
'', $edit_link);
 
   97                        $current_selection_list->addItem($this->lng->txt(
'delete'), 
'', $delete_link);
 
  100                        $current_selection_list->addItem($this->lng->txt(
'export'), 
'', $export_link);
 
  103                        $current_selection_list->addItem($this->lng->txt(
'bkm_sendmail'), 
'', $sendmail_link);  
 
  105                $this->tpl->setVariable(
"COMMAND_SELECTION_LIST", $current_selection_list->getHTML());
 
  108                $img_type = ($a_data[
"type"] == 
"bmf"  || $a_data[
"type"] == 
"parent") ? 
"bmf" : $a_data[
"type"]; 
 
  110                $this->tpl->setVariable(
"VAL_ICON", $val);
 
  111                $this->tpl->setVariable(
"VAL_ICON_ALT", 
$lng->txt(
"icon").
" ".
$lng->txt($a_data[
"type"]));
 
  114                if ($a_data[
"type"] == 
"bmf" || $a_data[
"type"] == 
"parent")
 
  116                        $this->tpl->setVariable(
"VAL_BMF_TITLE", $a_data[
"title"]);
 
  117                        $ilCtrl->setParameter($this->parent_obj, 
"bmf_id", $a_data[
"obj_id"]);
 
  118                        $this->tpl->setVariable(
"VAL_BMF_TARGET", 
$ilCtrl->getLinkTarget($this->parent_obj));
 
  123                        $this->tpl->setVariable(
"VAL_BM_TITLE", $a_data[
"title"]);
 
  125                        $this->tpl->setVariable(
"VAL_BM_DESCRIPTION", $a_data[
"description"]);
 
  128                $ilCtrl->clearParameters($this->parent_obj);
 
User interface class for advanced drop-down selection lists.
Table GUI for Bookmark management.
fillRow($a_data)
Standard Version of Fill Row.
addColumn($a_text, $a_sort_field="", $a_width="", $a_is_checkbox_action_column=false, $a_class="", $a_tooltip="")
Add a column to the header.
getParentObject()
Get parent object.
setRowTemplate($a_template, $a_template_dir="")
Set row template.
setTopAnchor($a_val)
Set top anchor.
addMultiCommand($a_cmd, $a_text)
Add Command button.
setSelectAllCheckbox($a_select_all_checkbox)
Set the name of the checkbox that should be toggled with a select all button.
setFormAction($a_form_action, $a_multipart=false)
Set Form action parameter.
secureUrl($url)
Prepare secure href attribute.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)