ILIAS  release_8 Revision v8.24
ilMediaPoolTableGUI Class Reference

TableGUI class for recent changes in wiki. More...

+ Inheritance diagram for ilMediaPoolTableGUI:
+ Collaboration diagram for ilMediaPoolTableGUI:

Public Member Functions

 __construct (object $a_parent_obj, string $a_parent_cmd, ilObjMediaPool $a_media_pool, string $a_folder_par="obj_id", string $a_mode=ilMediaPoolTableGUI::IL_MEP_EDIT, bool $a_all_objects=false, ?ilGlobalTemplateInterface $a_parent_tpl=null)
 
 setInsertCommand (string $a_val)
 
 getInsertCommand ()
 
 getHTML ()
 Get HTML. More...
 
 initFilter ()
 
 setMode (string $a_mode)
 
 getMode ()
 
 getItems ()
 
 render ()
 
- Public Member Functions inherited from ilTable2GUI
 __construct (?object $a_parent_obj, string $a_parent_cmd="", string $a_template_context="")
 
 setOpenFormTag (bool $a_val)
 
 getOpenFormTag ()
 
 setCloseFormTag (bool $a_val)
 
 getCloseFormTag ()
 
 determineLimit ()
 
 getSelectableColumns ()
 Get selectable columns. More...
 
 determineSelectedColumns ()
 
 isColumnSelected (string $col)
 
 getSelectedColumns ()
 
 resetOffset (bool $a_in_determination=false)
 
 initFilter ()
 
 getParentObject ()
 
 getParentCmd ()
 
 setTopAnchor (string $a_val)
 
 getTopAnchor ()
 
 setNoEntriesText (string $a_text)
 
 getNoEntriesText ()
 
 setIsDataTable (bool $a_val)
 
 getIsDataTable ()
 
 setEnableTitle (bool $a_enabletitle)
 
 getEnableTitle ()
 
 setEnableHeader (bool $a_enableheader)
 
 getEnableHeader ()
 
 setEnableNumInfo (bool $a_val)
 
 getEnableNumInfo ()
 
 setTitle (string $a_title, string $a_icon="", string $a_icon_alt="")
 
 setDescription (string $a_val)
 
 getDescription ()
 
 setOrderField (string $a_order_field)
 
 getOrderField ()
 
 setData (array $a_data)
 Set table data. More...
 
 getData ()
 
 dataExists ()
 
 setPrefix (string $a_prefix)
 set prefix for sort and offset fields (if you have two or more tables on a page that you want to sort separately) More...
 
 getPrefix ()
 
 addFilterItem (ilTableFilterItem $a_input_item, bool $a_optional=false)
 
 addFilterItemByMetaType (string $id, int $type=self::FILTER_TEXT, bool $a_optional=false, string $caption="")
 Add filter by standard type. More...
 
 getFilterItems (bool $a_optionals=false)
 
 getFilterItemByPostVar (string $a_post_var)
 
 setFilterCols (int $a_val)
 
 getFilterCols ()
 
 setDisableFilterHiding (bool $a_val=true)
 
 getDisableFilterHiding ()
 
 isFilterSelected (string $a_col)
 Is given filter selected? More...
 
 getSelectedFilters ()
 
 determineSelectedFilters ()
 
 setCustomPreviousNext (string $a_prev_link, string $a_next_link)
 
 setFormAction (string $a_form_action, bool $a_multipart=false)
 
 getFormAction ()
 
 setFormName (string $a_name="")
 
 getFormName ()
 get the name of the parent form More...
 
 setId (string $a_val)
 
 getId ()
 
 setDisplayAsBlock (bool $a_val)
 
 getDisplayAsBlock ()
 
 setSelectAllCheckbox (string $a_select_all_checkbox, bool $a_select_all_on_top=false)
 
 setExternalSorting (bool $a_val)
 
 getExternalSorting ()
 
 setFilterCommand (string $a_val, string $a_caption="")
 
 getFilterCommand ()
 
 setResetCommand (string $a_val, string $a_caption="")
 
 getResetCommand ()
 
 setExternalSegmentation (bool $a_val)
 
 getExternalSegmentation ()
 
 setRowTemplate (string $a_template, string $a_template_dir="")
 Set row template. More...
 
 setDefaultOrderField (string $a_defaultorderfield)
 
 getDefaultOrderField ()
 
 setDefaultOrderDirection (string $a_defaultorderdirection)
 
 getDefaultOrderDirection ()
 
 setDefaultFilterVisiblity (bool $a_status)
 
 getDefaultFilterVisibility ()
 
 clearCommandButtons ()
 
 addCommandButton (string $a_cmd, string $a_text, string $a_onclick='', string $a_id="", string $a_class="")
 
 addCommandButtonInstance (ilButtonBase $a_button)
 
 addMultiItemSelectionButton (string $a_sel_var, array $a_options, string $a_cmd, string $a_text, string $a_default_selection='')
 
 setCloseCommand (string $a_link)
 
 addMultiCommand (string $a_cmd, string $a_text)
 
 addHiddenInput (string $a_name, string $a_value)
 
 addHeaderCommand (string $a_href, string $a_text, string $a_target="", string $a_img="")
 
 setTopCommands (bool $a_val)
 
 getTopCommands ()
 
 addColumn (string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
 getNavParameter ()
 
 setOrderLink (string $key, string $order_dir)
 
 fillHeader ()
 
 determineOffsetAndOrder (bool $a_omit_offset=false)
 
 storeNavParameter ()
 
 getHTML ()
 Get HTML. More...
 
 numericOrdering (string $a_field)
 Should this field be sorted numeric? More...
 
 render ()
 
 writeFilterToSession ()
 
 resetFilter ()
 
 fillFooter ()
 
 getLinkbar (string $a_num)
 
 fillHiddenRow ()
 
 fillActionRow ()
 
 setHeaderHTML (string $html)
 
 storeProperty (string $type, string $value)
 
 loadProperty (string $type)
 
 getCurrentState ()
 get current settings for order, limit, columns and filter More...
 
 setContext (string $id)
 
 getContext ()
 
 setShowRowsSelector (bool $a_value)
 Toggle rows-per-page selector. More...
 
 getShowRowsSelector ()
 
 setShowTemplates (bool $a_value)
 
 getShowTemplates ()
 
 restoreTemplate (string $a_name)
 Restore state from template. More...
 
 saveTemplate (string $a_name)
 Save current state as template. More...
 
 deleteTemplate (string $a_name)
 
 getLimit ()
 
 getOffset ()
 
 setExportFormats (array $formats)
 Set available export formats. More...
 
 setPrintMode (bool $a_value=false)
 
 getPrintMode ()
 
 getExportMode ()
 
 exportData (int $format, bool $send=false)
 Export and optionally send current table data. More...
 
 setEnableAllCommand (bool $a_value)
 
 setRowSelectorLabel (string $row_selector_label)
 
 getRowSelectorLabel ()
 
 setPreventDoubleSubmission (bool $a_val)
 
 getPreventDoubleSubmission ()
 
 setLimit (int $a_limit=0, int $a_default_limit=0)
 set max. More...
 
- Public Member Functions inherited from ilTableGUI
 __construct (array $a_data=[], bool $a_global_tpl=true)
 
 setTemplate (ilTemplate $a_tpl)
 
 getTemplateObject ()
 
 setData (array $a_data)
 Set table data. More...
 
 getData ()
 
 setTitle (string $a_title, string $a_icon="", string $a_icon_alt="")
 
 setHelp (string $a_help_page, string $a_help_icon, string $a_help_icon_alt="")
 
 setHeaderNames (array $a_header_names)
 
 getColumnCount ()
 
 setHeaderVars (array $a_header_vars, array $a_header_params=[])
 
 setColumnWidth (array $a_column_width)
 set table column widths More...
 
 setOneColumnWidth (string $a_column_width, int $a_column_number)
 
 setMaxCount (int $a_max_count)
 set max. More...
 
 setLimit (int $a_limit=0, int $a_default_limit=0)
 set max. More...
 
 getLimit ()
 
 setPrefix (string $a_prefix)
 set prefix for sort and offset fields (if you have two or more tables on a page that you want to sort separately) More...
 
 setOffset (int $a_offset)
 set dataset offset More...
 
 getOffset ()
 
 setOrderColumn (string $a_order_column="", string $a_default_column="")
 
 getOrderColumn ()
 
 setOrderDirection (string $a_order_direction)
 
 getOrderDirection ()
 
 setFooter (string $a_style, string $a_previous="", string $a_next="")
 
 enable (string $a_module_name)
 
 disable (string $a_module_name)
 
 sortData ()
 
 render ()
 
 renderHeader ()
 
 setOrderLink (string $key, string $order_dir)
 
 setStyle (string $a_element, string $a_style)
 
 getStyle (string $a_element)
 
 setBase (string $a_base)
 
 getBase ()
 
 getFormName ()
 get the name of the parent form More...
 
 setFormName (string $a_name="cmd")
 
 getSelectAllCheckbox ()
 get the name of the checkbox that should be toggled with a select all button More...
 
 setSelectAllCheckbox (string $a_select_all_checkbox)
 
 clearActionButtons ()
 
 addActionButton (string $btn_name, string $btn_value)
 

Data Fields

const IL_MEP_SELECT = "select"
 
const IL_MEP_EDIT = "edit"
 
const IL_MEP_SELECT_CONTENT = "selectc"
 
const IL_MEP_SELECT_SINGLE = "selectsingle"
 
string $insert_command = "create_mob"
 
- Data Fields inherited from ilTable2GUI
const FILTER_TEXT = 1
 
const FILTER_SELECT = 2
 
const FILTER_DATE = 3
 
const FILTER_LANGUAGE = 4
 
const FILTER_NUMBER_RANGE = 5
 
const FILTER_DATE_RANGE = 6
 
const FILTER_DURATION_RANGE = 7
 
const FILTER_DATETIME_RANGE = 8
 
const FILTER_CHECKBOX = 9
 
const EXPORT_EXCEL = 1
 
const EXPORT_CSV = 2
 
const ACTION_ALL_LIMIT = 1000
 
- Data Fields inherited from ilTableGUI
string $title = ""
 
string $icon = ""
 
string $icon_alt = ""
 
string $help_page = ""
 
string $help_icon = ""
 
string $help_icon_alt = ""
 
array $header_names = []
 
array $header_vars = []
 
array $linkbar_vars = []
 
array $data = []
 
int $column_count = 0
 
array $column_width = []
 
int $max_count = 0
 
int $limit = 0
 
bool $max_limit = false
 
int $offset = 0
 
string $order_column = ""
 
string $order_direction = ""
 
string $footer_style = ""
 
string $footer_previous = ""
 
string $footer_next = ""
 
bool $lang_support = true
 
bool $global_tpl = false
 
string $form_name = ""
 
string $select_all_checkbox = ""
 
array $action_buttons = []
 
string $prefix = ""
 
string $base = ""
 
array $enabled
 
array $styles
 

Protected Member Functions

 showAdvMetadata ()
 
 getAdvMDRecordGUI ()
 
 prepareOutput ()
 Anything that must be done before HTML is generated. More...
 
 fillRow (array $a_set)
 Standard Version of Fill Row. More...
 
- Protected Member Functions inherited from ilTable2GUI
 getRequestedValues ()
 
 prepareOutput ()
 Anything that must be done before HTML is generated. More...
 
 isFilterVisible ()
 Check if filter is visible: manually shown (session, db) or default value set. More...
 
 isAdvMDFilter (ilAdvancedMDRecordGUI $a_gui, ilTableFilterItem $a_element)
 Check if filter element is based on adv md. More...
 
 fillRow (array $a_set)
 Standard Version of Fill Row. More...
 
 getFilterValue (ilTableFilterItem $a_item)
 Get current filter value. More...
 
 setFilterValue (ilTableFilterItem $a_item, $a_value)
 
 fillMetaExcel (ilExcel $a_excel, int &$a_row)
 Add meta information to excel export. More...
 
 fillHeaderExcel (ilExcel $a_excel, int &$a_row)
 Excel Version of Fill Header. More...
 
 fillRowExcel (ilExcel $a_excel, int &$a_row, array $a_set)
 Excel Version of Fill Row. More...
 
 fillMetaCSV (ilCSVWriter $a_csv)
 Add meta information to csv export. More...
 
 fillHeaderCSV (ilCSVWriter $a_csv)
 CSV Version of Fill Header. More...
 
 fillRowCSV (ilCSVWriter $a_csv, array $a_set)
 CSV Version of Fill Row. More...
 

Protected Attributes

ILIAS DI UIServices $ui
 
string $mode = ""
 
array $filter = []
 
int $current_folder = 0
 
string $folder_par
 
ilTree $tree
 
ilObjMediaPool $media_pool
 
bool $all_objects = false
 
ILIAS MediaPool StandardGUIRequest $request
 
ILIAS MediaPool Clipboard ClipboardManager $clipboard_manager
 
ilAccessHandler $access
 
ilRbacReview $rbacreview
 
ilObjUser $user
 
ilGlobalTemplateInterface $parent_tpl = null
 
ilAdvancedMDRecordGUI $adv_filter_record_gui
 
MediaPoolRepository $pool_repo
 
- Protected Attributes inherited from ilTable2GUI
string $requested_tmpl_delete
 
string $requested_tmpl_create
 
string $requested_nav_par2 = ""
 
string $requested_nav_par = ""
 
string $requested_nav_par1 = ""
 
ILIAS Table TableGUIRequest $table_request = null
 
array $selected_columns = []
 
ilCtrl $ctrl
 
object $parent_obj = null
 
string $parent_cmd = ""
 
string $close_command = ""
 
string $top_anchor = "il_table_top"
 
array $filters = array()
 
array $optional_filters = array()
 
string $filter_cmd = 'applyFilter'
 
string $reset_cmd = 'resetFilter'
 
int $filter_cols = 5
 
bool $ext_sort = false
 
bool $ext_seg = false
 
string $context = ""
 
array $mi_sel_buttons = []
 
bool $disable_filter_hiding = false
 
bool $top_commands = true
 
array $selectable_columns = array()
 
array $selected_column = array()
 
bool $show_templates = false
 
bool $show_rows_selector = true
 
bool $rows_selector_off = false
 
bool $nav_determined = false
 
bool $limit_determined = false
 
bool $filters_determined = false
 
bool $columns_determined = false
 
bool $open_form_tag = true
 
bool $close_form_tag = true
 
array $export_formats = []
 
int $export_mode = 0
 
bool $print_mode = false
 
bool $enable_command_for_all = false
 
bool $restore_filter = false
 
array $restore_filter_values = []
 
bool $default_filter_visibility = false
 
array $sortable_fields = array()
 
bool $prevent_double_submission = true
 
string $row_selector_label = ""
 
bool $select_all_on_top = false
 
array $sel_buttons = []
 
string $nav_value = ''
 
string $noentriestext = ''
 
string $css_row = ''
 
bool $display_as_block = false
 
string $description = ''
 
string $id = ""
 
bool $custom_prev_next = false
 
string $reset_cmd_txt = ""
 
string $defaultorderfield = ""
 
string $defaultorderdirection = ""
 
array $column = []
 
bool $datatable = false
 
bool $num_info = false
 
bool $form_multipart = false
 
array $row_data = []
 
string $order_field = ""
 
array $selected_filter = []
 
string $form_action = ""
 
string $formname = ""
 
string $sort_order = ""
 
array $buttons = []
 
array $multi = []
 
array $hidden_inputs = []
 
array $header_commands = []
 
string $row_template = ""
 
string $row_template_dir = ""
 
string $filter_cmd_txt = ""
 
string $custom_prev = ""
 
string $custom_next = ""
 
array $raw_post_data = null
 
ilGlobalTemplateInterface $main_tpl
 
- Protected Attributes inherited from ilTableGUI
string $sort_order
 
string $link_params
 
array $header_params
 
 $tpl
 
ilLanguage $lng
 

Additional Inherited Members

- Static Public Member Functions inherited from ilTable2GUI
static getAllCommandLimit ()
 
- Static Public Member Functions inherited from ilTableGUI
static linkbar (string $AScript, int $AHits, int $ALimit, int $AOffset, array $AParams=array(), array $ALayout=array(), string $prefix='')
 

Detailed Description

TableGUI class for recent changes in wiki.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 26 of file class.ilMediaPoolTableGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilMediaPoolTableGUI::__construct ( object  $a_parent_obj,
string  $a_parent_cmd,
ilObjMediaPool  $a_media_pool,
string  $a_folder_par = "obj_id",
string  $a_mode = ilMediaPoolTableGUI::IL_MEP_EDIT,
bool  $a_all_objects = false,
?ilGlobalTemplateInterface  $a_parent_tpl = null 
)

Definition at line 52 of file class.ilMediaPoolTableGUI.php.

60 {
61 global $DIC;
62
63 $this->ctrl = $DIC->ctrl();
64 $this->lng = $DIC->language();
65 $this->access = $DIC->access();
66 $this->rbacreview = $DIC->rbac()->review();
67 $this->user = $DIC->user();
68
69 $ilCtrl = $DIC->ctrl();
70 $ilAccess = $DIC->access();
71 $lng = $DIC->language();
72 $this->ui = $DIC->ui();
73
74 $this->clipboard_manager = $DIC->mediaPool()
75 ->internal()
76 ->domain()
77 ->clipboard();
78
79 $this->request = $DIC->mediaPool()
80 ->internal()
81 ->gui()
82 ->standardRequest();
83
84 if ($a_parent_tpl === null) {
85 $a_parent_tpl = $DIC->ui()->mainTemplate();
86 }
87 $this->parent_tpl = $a_parent_tpl;
88 if ($a_all_objects) {
89 $this->setId("mepall");
90 if (method_exists($a_parent_obj, "getObject") &&
91 is_object($a_parent_obj->getObject())) {
92 $this->setId("mepall" . $a_parent_obj->getObject()->getId());
93 }
94 } else {
95 $this->setId("mepfold");
96 if (method_exists($a_parent_obj, "getObject") &&
97 is_object($a_parent_obj->getObject())) {
98 $this->setId("mepfold" . $a_parent_obj->getObject()->getId());
99 }
100 }
101
102 parent::__construct($a_parent_obj, $a_parent_cmd);
103 $this->setMode($a_mode);
104 $this->all_objects = $a_all_objects;
105 $lng->loadLanguageModule("mep");
106
107 $this->media_pool = $a_media_pool;
108 $this->tree = ilObjMediaPool::_getPoolTree($this->media_pool->getId());
109 $this->folder_par = $a_folder_par;
110 $this->pool_repo = new MediaPoolRepository();
111
112 if ($this->all_objects) {
113 $this->setExternalSorting(true);
114 $this->initFilter();
115 }
116
117 $current_folder = $this->clipboard_manager->getFolder();
118
119 // folder determination
120 $requested_folder_id = $this->request->getFolderId($this->folder_par);
121 if ($requested_folder_id > 0) {
122 $this->current_folder = $requested_folder_id;
123 } elseif ($current_folder > 0 && $this->tree->isInTree($current_folder)) {
124 $this->current_folder = $current_folder;
125 } else {
126 $this->current_folder = $this->tree->getRootId();
127 }
128 $this->clipboard_manager->setFolder($this->current_folder);
129
130 // standard columns
131 $this->addColumn("", "", "1"); // checkbox
132 $this->addColumn($lng->txt("mep_thumbnail"), "", "100px");
133 $this->addColumn($lng->txt("mep_title_and_description"));
134 $this->setEnableHeader(true);
135 $this->setFormAction($ilCtrl->getFormAction($a_parent_obj));
136 $this->setRowTemplate("tpl.mep_list_row.html", "Modules/MediaPool");
137
138 if ($this->showAdvMetadata()) {
139 // adv metadata init (adds filter)
140 $this->adv_filter_record_gui = new ilAdvancedMDRecordGUI(
142 'mep',
143 $this->media_pool->getId(),
144 'mob'
145 );
146 $this->adv_filter_record_gui->setTableGUI($this);
147 $this->adv_filter_record_gui->parse();
148
149 // adv metadata columns
150 $adv_th_record_gui = new ilAdvancedMDRecordGUI(
152 'mep',
153 $this->media_pool->getId(),
154 'mob'
155 );
156 $adv_th_record_gui->setTableGUI($this);
157 $adv_th_record_gui->parse();
158 if ($a_mode === self::IL_MEP_SELECT) {
159 $this->setFilterCommand("insert_applyFilter");
160 $this->setResetCommand("insert_resetFilter");
161 }
162 }
163
164 // actions column
165 $this->addColumn($lng->txt("actions"));
166
167 // get items
168 $this->getItems();
169
170 // title
171 if ($a_mode !== self::IL_MEP_EDIT) {
172 if ($this->current_folder !== $this->tree->getRootId() && !$this->all_objects) {
173 $node = $this->tree->getNodeData($this->current_folder);
174 $this->setTitle(
175 $lng->txt("mep_choose_from_folder") . ": " . $node["title"],
176 "icon_fold.svg",
177 $node["title"]
178 );
179 } else {
180 $this->setTitle(
181 $lng->txt("mep_choose_from_mep") . ": " .
182 ilObject::_lookupTitle($this->media_pool->getId()),
183 "icon_mep.svg",
184 ilObject::_lookupTitle($this->media_pool->getId())
185 );
186 }
187 }
188
189 // action commands
190 if ($ilAccess->checkAccess("write", "", $this->media_pool->getRefId()) &&
191 $this->getMode() === self::IL_MEP_EDIT) {
192 $this->addMultiCommand("copyToClipboard", $lng->txt("cont_copy_to_clipboard"));
193 $this->addMultiCommand("move", $lng->txt("move"));
194 $this->addMultiCommand("confirmRemove", $lng->txt("remove"));
195 }
196
197 if ($this->getMode() === self::IL_MEP_SELECT_SINGLE) {
198 // ... even more coupling with ilpcmediaobjectgui
199 $this->addMultiCommand("selectObjectReference", $lng->txt("cont_select"));
200 }
201
202 if ($this->getMode() === self::IL_MEP_EDIT &&
203 $ilAccess->checkAccess("write", "", $this->media_pool->getRefId())) {
204 $this->setSelectAllCheckbox("id");
205 }
206 }
loadLanguageModule(string $a_module)
Load language module.
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
static _getPoolTree(int $a_obj_id)
static _lookupTitle(int $obj_id)
setFilterCommand(string $a_val, string $a_caption="")
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
addMultiCommand(string $a_cmd, string $a_text)
setFormAction(string $a_form_action, bool $a_multipart=false)
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
setEnableHeader(bool $a_enableheader)
setSelectAllCheckbox(string $a_select_all_checkbox, bool $a_select_all_on_top=false)
setExternalSorting(bool $a_val)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setId(string $a_val)
setResetCommand(string $a_val, string $a_caption="")
ilLanguage $lng
global $DIC
Definition: feed.php:28
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References $current_folder, $DIC, ilTableGUI\$lng, ILIAS\GlobalScreen\Provider\__construct(), ilObjMediaPool\_getPoolTree(), ilObject\_lookupTitle(), ILIAS\Repository\access(), ilTable2GUI\addColumn(), ilTable2GUI\addMultiCommand(), ILIAS\Repository\ctrl(), getItems(), getMode(), initFilter(), ILIAS\Repository\lng(), ilLanguage\loadLanguageModule(), ilAdvancedMDRecordGUI\MODE_FILTER, ilAdvancedMDRecordGUI\MODE_TABLE_HEAD, ilTable2GUI\setEnableHeader(), ilTable2GUI\setExternalSorting(), ilTable2GUI\setFilterCommand(), ilTable2GUI\setFormAction(), ilTable2GUI\setId(), setMode(), ilTable2GUI\setResetCommand(), ilTable2GUI\setRowTemplate(), ilTable2GUI\setSelectAllCheckbox(), ilTable2GUI\setTitle(), showAdvMetadata(), ilLanguage\txt(), ILIAS\Repository\ui(), and ILIAS\Repository\user().

+ Here is the call graph for this function:

Member Function Documentation

◆ fillRow()

ilMediaPoolTableGUI::fillRow ( array  $a_set)
protected

Standard Version of Fill Row.

Most likely to be overwritten by derived class.

Parameters
array$a_setdata array

Reimplemented from ilTable2GUI.

Definition at line 400 of file class.ilMediaPoolTableGUI.php.

400 : void
401 {
403 $ilCtrl = $this->ctrl;
404 $ilAccess = $this->access;
405 $actions = [];
406
407 $this->tpl->setCurrentBlock("link");
408
409 // adv metadata columns
410 if ($this->showAdvMetadata()) {
411 $adv_cell_record_gui = new ilAdvancedMDRecordGUI(
413 'mep',
414 $this->media_pool->getId(),
415 'mob'
416 );
417 $adv_cell_record_gui->setTableGUI($this);
418 $adv_cell_record_gui->setRowData($a_set);
419 $this->tpl->setVariable("ADV_CELLS", $adv_cell_record_gui->parse());
420 }
421
422
423 switch ($a_set["type"]) {
424 case "fold":
425 $this->tpl->setVariable("TXT_TITLE", htmlentities($a_set["title"]));
426 $ilCtrl->setParameter($this->parent_obj, $this->folder_par, $a_set["obj_id"]);
427 $ilCtrl->setParameter($this->parent_obj, "id", $a_set["obj_id"]);
428 $this->tpl->setVariable(
429 "LINK_VIEW",
430 $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd)
431 );
432 $this->tpl->parseCurrentBlock();
433
434 if ($ilAccess->checkAccess("write", "", $this->media_pool->getRefId()) &&
435 $this->getMode() === self::IL_MEP_EDIT) {
436 $actions[$lng->txt("edit")] = $ilCtrl->getLinkTarget($this->parent_obj, "editFolder");
437 $ilCtrl->setParameterByClass("ilobjmediapoolgui", "mepitem_id", $this->request->getItemId());
438 $actions[$lng->txt("move")] = $ilCtrl->getLinkTarget($this->parent_obj, "move");
439 $actions[$lng->txt("remove")] = $ilCtrl->getLinkTarget($this->parent_obj, "confirmRemove");
440 $ilCtrl->setParameter($this->parent_obj, $this->folder_par, $a_set["obj_id"]);
441 $ilCtrl->setParameter(
442 $this->parent_obj,
443 $this->folder_par,
444 $this->request->getFolderId($this->folder_par)
445 );
446 $this->tpl->parseCurrentBlock();
447 }
448
449 $this->tpl->setCurrentBlock("tbl_content");
450 $this->tpl->setVariable("IMG", ilUtil::img(ilUtil::getImagePath("icon_" . $a_set["type"] . ".svg")));
451 $ilCtrl->setParameter($this->parent_obj, $this->folder_par, $this->current_folder);
452 break;
453
454 case "pg":
455 if ($this->getMode() === self::IL_MEP_SELECT ||
456 $this->getMode() === self::IL_MEP_SELECT_SINGLE) {
457 $this->tpl->setVariable("TXT_NO_LINK_TITLE", htmlentities($a_set["title"]));
458 } else {
459 $this->tpl->setVariable("ONCLICK", "il.MediaPool.preview('" . $a_set["child"] . "'); return false;");
460 $this->tpl->setVariable("TXT_TITLE", htmlentities($a_set["title"]));
461 $ilCtrl->setParameterByClass("ilobjmediapoolgui", "mepitem_id", $a_set["child"]);
462 }
463
464 if ($this->getMode() === self::IL_MEP_EDIT &&
465 $ilAccess->checkAccess("write", "", $this->media_pool->getRefId())) {
466 $ilCtrl->setParameterByClass("ilmediapoolpagegui", "mepitem_id", $a_set["child"]);
467 $ilCtrl->setParameterByClass("ilobjmediapoolgui", "id", $a_set["child"]);
468
469 $actions[$lng->txt("edit")] = $ilCtrl->getLinkTargetByClass("ilmediapoolpagegui", "edit");
470
471 $mdgui = new ilObjectMetaDataGUI(
472 $this->media_pool,
473 "mpg",
474 $a_set["child"]
475 );
476 $mdtab = $mdgui->getTab("ilmediapoolpagegui");
477 if ($mdtab) {
478 $actions[$lng->txt("meta_data")] = $mdtab;
479 }
480
481 $actions[$lng->txt("cont_usage")] = $ilCtrl->getLinkTargetByClass("ilmediapoolpagegui", "showMediaPoolPageUsages");
482 $actions[$lng->txt("settings")] = $ilCtrl->getLinkTargetByClass("ilmediapoolpagegui", "editMediaPoolPage");
483 $ilCtrl->setParameterByClass("ilobjmediapoolgui", "mepitem_id", $this->request->getItemId());
484 $actions[$lng->txt("move")] = $ilCtrl->getLinkTarget($this->parent_obj, "move");
485 $actions[$lng->txt("remove")] = $ilCtrl->getLinkTarget($this->parent_obj, "confirmRemove");
486 }
487
488 $this->tpl->setCurrentBlock("tbl_content");
489 $this->tpl->setVariable("IMG", ilUtil::img(ilUtil::getImagePath("icon_pg.svg")));
490 $ilCtrl->setParameter($this->parent_obj, $this->folder_par, $this->current_folder);
491 break;
492
493 case "mob":
494 $this->tpl->setVariable("ONCLICK", "il.MediaPool.preview('" . $a_set["child"] . "'); return false;");
495 $this->tpl->setVariable("TXT_TITLE", htmlentities($a_set["title"]));
496 $ilCtrl->setParameterByClass("ilobjmediaobjectgui", "mepitem_id", $a_set["child"]);
497 $ilCtrl->setParameter($this->parent_obj, "mob_id", $a_set["foreign_id"]);
498 $ilCtrl->setParameter($this->parent_obj, "id", $a_set["child"]);
499
500 // edit link
501 if ($ilAccess->checkAccess("write", "", $this->media_pool->getRefId()) &&
502 $this->getMode() === self::IL_MEP_EDIT) {
503 $actions[$lng->txt("edit")] = $ilCtrl->getLinkTargetByClass("ilobjmediaobjectgui", "edit");
504 $ilCtrl->setParameterByClass("ilobjmediapoolgui", "mepitem_id", $this->request->getItemId());
505 $actions[$lng->txt("cont_copy_to_clipboard")] = $ilCtrl->getLinkTargetByClass("ilobjmediapoolgui", "copyToClipboard");
506 $actions[$lng->txt("move")] = $ilCtrl->getLinkTargetByClass("ilobjmediapoolgui", "move");
507 $actions[$lng->txt("remove")] = $ilCtrl->getLinkTarget($this->parent_obj, "confirmRemove");
508 }
509
510 $this->tpl->setCurrentBlock("link");
511 $this->tpl->setCurrentBlock("tbl_content");
512
513 // output thumbnail (or mob icon)
514 if (ilObject::_lookupType($a_set["foreign_id"]) === "mob") {
515 $mob = new ilObjMediaObject($a_set["foreign_id"]);
516 $med = $mob->getMediaItem("Standard");
517 $target = "";
518
519 // thumbnail picture
520 if ($med) {
521 $target = $med->getThumbnailTarget();
522 }
523
524 // video preview
525 if ($target === "") {
526 $target = $mob->getVideoPreviewPic();
527 }
528
529 if ($target !== "") {
530 $this->tpl->setVariable("IMG", ilUtil::img(ilWACSignedPath::signFile($target)));
531 } else {
532 $this->tpl->setVariable(
533 "IMG",
534 ilUtil::img(ilUtil::getImagePath("icon_" . $a_set["type"] . ".svg"))
535 );
536 }
537 if ($med && ilUtil::deducibleSize($med->getFormat()) &&
538 $med->getLocationType() === "Reference") {
539 $size = getimagesize($med->getLocation());
540 if ($size[0] > 0 && $size[1] > 0) {
541 $wr = $size[0] / 80;
542 $hr = $size[1] / 80;
543 $r = max($wr, $hr);
544 $w = (int) ($size[0] / $r);
545 $h = (int) ($size[1] / $r);
546 $this->tpl->setVariable(
547 "IMG",
548 ilUtil::img($med->getLocation(), "", $w, $h)
549 );
550 }
551 }
552
553 // output media info
554 $this->tpl->setVariable(
555 "MEDIA_INFO",
557 );
558 $ilCtrl->setParameter($this->parent_obj, $this->folder_par, $this->current_folder);
559 }
560 break;
561 }
562
563 if ($ilAccess->checkAccess("write", "", $this->media_pool->getRefId())) {
564 if ((
565 $this->getMode() === self::IL_MEP_EDIT ||
566 ($this->getMode() === self::IL_MEP_SELECT && $a_set["type"] === "mob") ||
567 ($this->getMode() === self::IL_MEP_SELECT_CONTENT && $a_set["type"] === "pg")
568 )) {
569 $this->tpl->setCurrentBlock("chbox");
570 $this->tpl->setVariable("CHECKBOX_ID", $a_set["child"]);
571 $this->tpl->parseCurrentBlock();
572 $this->tpl->setCurrentBlock("tbl_content");
573 } elseif ($this->getMode() === self::IL_MEP_SELECT_SINGLE && $a_set["type"] === "mob") {
574 $this->tpl->setCurrentBlock("radio");
575 $this->tpl->setVariable("RADIO_ID", $a_set["child"]);
576 $this->tpl->parseCurrentBlock();
577 $this->tpl->setCurrentBlock("tbl_content");
578 }
579 }
580
581 if (count($actions) > 0) {
582 $items = [];
583 foreach ($actions as $txt => $act) {
584 $items[] = $this->ui->factory()->link()->standard($txt, $act);
585 }
586 $dd = $this->ui->factory()->dropdown()->standard($items);
587 $this->tpl->setVariable("DROPDOWN", $this->ui->renderer()->render($dd));
588 }
589 }
static _getMediaInfoHTML(ilObjMediaObject $a_mob)
get media info as html
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static _lookupType(int $id, bool $reference=false)
static getImagePath(string $img, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
static deducibleSize(string $a_mime)
checks if mime type is provided by getimagesize()
static img(string $a_src, ?string $a_alt=null, $a_width="", $a_height="", $a_border=0, $a_id="", $a_class="")
Build img tag.
static signFile(string $path_to_file)
$txt
Definition: error.php:13

References $access, ilTable2GUI\$ctrl, ilTableGUI\$lng, $txt, ilObjMediaObjectGUI\_getMediaInfoHTML(), ilObject\_lookupType(), ilUtil\deducibleSize(), ilUtil\getImagePath(), getMode(), ilUtil\img(), ILIAS\Repository\int(), ilAdvancedMDRecordGUI\MODE_TABLE_CELLS, showAdvMetadata(), ilWACSignedPath\signFile(), ilLanguage\txt(), and ILIAS\Repository\ui().

+ Here is the call graph for this function:

◆ getAdvMDRecordGUI()

ilMediaPoolTableGUI::getAdvMDRecordGUI ( )
protected

Definition at line 213 of file class.ilMediaPoolTableGUI.php.

214 {
216 }
ilAdvancedMDRecordGUI $adv_filter_record_gui

References $adv_filter_record_gui.

◆ getHTML()

ilMediaPoolTableGUI::getHTML ( )

Get HTML.

Reimplemented from ilTable2GUI.

Definition at line 250 of file class.ilMediaPoolTableGUI.php.

250 : string
251 {
252 $html = parent::getHTML();
253 $html .= ilObjMediaPoolGUI::getPreviewModalHTML($this->media_pool->getRefId(), $this->parent_tpl);
254 return $html;
255 }
static getPreviewModalHTML(int $a_mpool_ref_id, ilGlobalTemplateInterface $a_tpl)
Get preview modal html.

References ilObjMediaPoolGUI\getPreviewModalHTML().

+ Here is the call graph for this function:

◆ getInsertCommand()

ilMediaPoolTableGUI::getInsertCommand ( )

Definition at line 223 of file class.ilMediaPoolTableGUI.php.

223 : string
224 {
226 }

References $insert_command.

Referenced by prepareOutput().

+ Here is the caller graph for this function:

◆ getItems()

ilMediaPoolTableGUI::getItems ( )

Definition at line 314 of file class.ilMediaPoolTableGUI.php.

314 : void
315 {
316 if (!$this->all_objects) {
317 $fobjs = $this->media_pool->getChilds($this->current_folder, "fold");
318 $f2objs = array();
319 foreach ($fobjs as $obj) {
320 $f2objs[$obj["title"] . ":" . $obj["child"]] = $obj;
321 }
322 ksort($f2objs);
323
324 // get current media objects / pages
325 if ($this->getMode() === self::IL_MEP_SELECT) {
326 $mobjs = $this->media_pool->getChilds($this->current_folder, "mob");
327 } elseif ($this->getMode() === self::IL_MEP_SELECT_CONTENT) {
328 $mobjs = $this->media_pool->getChilds($this->current_folder, "pg");
329 } else {
330 $mobjs = $this->media_pool->getChildsExceptFolders($this->current_folder);
331 }
332 $m2objs = array();
333 foreach ($mobjs as $obj) {
334 $m2objs[$obj["title"] . ":" . $obj["child"]] = $obj;
335 }
336 ksort($m2objs);
337
338 // merge everything together
339 $objs = array_merge($f2objs, $m2objs);
340 } else {
341 $objs = $this->pool_repo->getItems(
342 $this->media_pool->getId(),
343 $this->filter["title"],
344 $this->filter["format"],
345 $this->filter['keyword'],
346 $this->filter['caption']
347 );
348 }
349
350 // add advanced metadata
351 if ($this->showAdvMetadata()) {
352 $mobs = array_filter($objs, function ($m) {
353 return ($m["type"] === "mob");
354 });
355
357 $this->media_pool->getRefId(),
358 "mep",
359 "mob",
360 [0],
361 "mob",
362 $mobs,
363 "",
364 "foreign_id",
365 $this->adv_filter_record_gui->getFilterElements()
366 );
367
368 $snippets = array_filter($objs, function ($m) {
369 return ($m["type"] === "pg");
370 });
371
373 $this->media_pool->getRefId(),
374 "mep",
375 "mpg",
376 [$this->media_pool->getId()],
377 "mpg",
378 $snippets,
379 "mep_id",
380 "obj_id",
381 $this->adv_filter_record_gui->getFilterElements()
382 );
383
384 $objs = array_merge($mobs, $snippets);
385 }
386 $this->setData($objs);
387 }
static queryForRecords(int $adv_rec_obj_ref_id, string $adv_rec_obj_type, string $adv_rec_obj_subtype, array $a_obj_id, string $a_subtype, array $a_records, string $a_obj_id_key, string $a_obj_subid_key, array $a_amet_filter=null)
setData(array $a_data)
Set table data.
$mobs
Definition: imgupload.php:70

References $mobs, getMode(), ilAdvancedMDValues\queryForRecords(), ilTable2GUI\setData(), and showAdvMetadata().

Referenced by __construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMode()

ilMediaPoolTableGUI::getMode ( )

Definition at line 309 of file class.ilMediaPoolTableGUI.php.

309 : string
310 {
311 return $this->mode;
312 }

References $mode.

Referenced by __construct(), fillRow(), getItems(), and prepareOutput().

+ Here is the caller graph for this function:

◆ initFilter()

ilMediaPoolTableGUI::initFilter ( )

Reimplemented from ilTable2GUI.

Definition at line 257 of file class.ilMediaPoolTableGUI.php.

257 : void
258 {
259 $mset = new ilSetting("mobs");
261
262 // title/description
263 $ti = new ilTextInputGUI($lng->txt("title"), "title");
264 $ti->setMaxLength(64);
265 $ti->setSize(20);
266 $this->addFilterItem($ti);
267 $ti->readFromSession();
268 $this->filter["title"] = $ti->getValue();
269
270 // keyword
271 $GLOBALS['lng']->loadLanguageModule('meta');
272 $ke = new ilTextInputGUI($lng->txt('meta_keyword'), 'keyword');
273 $ke->setMaxLength(64);
274 $ke->setSize(20);
275 $this->addFilterItem($ke);
276 $ke->readFromSession();
277 $this->filter['keyword'] = $ke->getValue();
278
279 // Caption
280 $ca = new ilTextInputGUI($lng->txt('cont_caption'), 'caption');
281 $ca->setMaxLength(64);
282 $ca->setSize(20);
283 $this->addFilterItem($ca);
284 $ca->readFromSession();
285 $this->filter['caption'] = $ca->getValue();
286
287 // format
288 $options = array(
289 "" => $lng->txt("mep_all"),
290 );
291 if ($mset->get("mep_activate_pages")) {
292 $options["mob"] = $lng->txt("mep_mob");
293 $options["pg"] = $lng->txt("mep_mpg");
294 }
295 $formats = $this->media_pool->getUsedFormats();
296 $options = array_merge($options, $formats);
297 $si = new ilSelectInputGUI($this->lng->txt("mep_format"), "format");
298 $si->setOptions($options);
299 $this->addFilterItem($si);
300 $si->readFromSession();
301 $this->filter["format"] = $si->getValue();
302 }
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition: PEAR.php:64
This class represents a selection list property in a property form.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
addFilterItem(ilTableFilterItem $a_input_item, bool $a_optional=false)
This class represents a text property in a property form.
$formats
Definition: date.php:77

References $formats, $GLOBALS, ilTableGUI\$lng, ilTable2GUI\addFilterItem(), ILIAS\UI\examples\Symbol\Glyph\Filter\filter(), ILIAS\Repository\lng(), and ilLanguage\txt().

Referenced by __construct().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ prepareOutput()

ilMediaPoolTableGUI::prepareOutput ( )
protected

Anything that must be done before HTML is generated.

Reimplemented from ilTable2GUI.

Definition at line 389 of file class.ilMediaPoolTableGUI.php.

389 : void
390 {
392
393 if ($this->getMode() === self::IL_MEP_SELECT ||
394 $this->getMode() === self::IL_MEP_SELECT_CONTENT) {
395 $this->addMultiCommand($this->getInsertCommand(), $lng->txt("insert"));
396 $this->addCommandButton("cancelCreate", $lng->txt("cancel"));
397 }
398 }
addCommandButton(string $a_cmd, string $a_text, string $a_onclick='', string $a_id="", string $a_class="")

References ilTableGUI\$lng, ilTable2GUI\addCommandButton(), ilTable2GUI\addMultiCommand(), getInsertCommand(), getMode(), and ilLanguage\txt().

+ Here is the call graph for this function:

◆ render()

ilMediaPoolTableGUI::render ( )

Reimplemented from ilTable2GUI.

Definition at line 591 of file class.ilMediaPoolTableGUI.php.

591 : string
592 {
593 $ilCtrl = $this->ctrl;
594
595 $mtpl = new ilTemplate("tpl.media_sel_table.html", true, true, "Modules/MediaPool");
596
597 $pre = "";
598 if ($this->current_folder !== $this->tree->getRootId() && !$this->all_objects) {
599 $path = $this->tree->getPathFull($this->current_folder);
600
601 $loc = new ilLocatorGUI();
602 foreach ($path as $p) {
603 $ilCtrl->setParameter($this->parent_obj, $this->folder_par, $p["child"]);
604 $title = htmlentities($p["title"]);
605 if ($this->tree->getRootId() == $p["child"]) {
606 $title = ilObject::_lookupTitle($this->media_pool->getId());
607 }
608 $loc->addItem(
609 $title,
610 $ilCtrl->getLinkTarget($this->parent_obj, $this->parent_cmd)
611 );
612 }
613 $ilCtrl->setParameter(
614 $this->parent_obj,
615 $this->folder_par,
616 $this->current_folder
617 );
618
619 $mtpl->setCurrentBlock("loc");
620 $mtpl->setVariable("LOC", $loc->getHTML());
621 $mtpl->parseCurrentBlock();
622 }
623
624 $mtpl->setVariable("TABLE", parent::render());
625
626 return $mtpl->get();
627 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
special template class to simplify handling of ITX/PEAR
$path
Definition: ltiservices.php:32

References ilTable2GUI\$ctrl, $path, ilTableGUI\$title, and ilObject\_lookupTitle().

+ Here is the call graph for this function:

◆ setInsertCommand()

ilMediaPoolTableGUI::setInsertCommand ( string  $a_val)

Definition at line 218 of file class.ilMediaPoolTableGUI.php.

218 : void
219 {
220 $this->insert_command = $a_val;
221 }

◆ setMode()

ilMediaPoolTableGUI::setMode ( string  $a_mode)

Definition at line 304 of file class.ilMediaPoolTableGUI.php.

304 : void
305 {
306 $this->mode = $a_mode;
307 }

Referenced by __construct().

+ Here is the caller graph for this function:

◆ showAdvMetadata()

ilMediaPoolTableGUI::showAdvMetadata ( )
protected

Definition at line 208 of file class.ilMediaPoolTableGUI.php.

208 : bool
209 {
210 return ($this->all_objects);
211 }

Referenced by __construct(), fillRow(), and getItems().

+ Here is the caller graph for this function:

Field Documentation

◆ $access

ilAccessHandler ilMediaPoolTableGUI::$access
protected

Definition at line 44 of file class.ilMediaPoolTableGUI.php.

Referenced by fillRow().

◆ $adv_filter_record_gui

ilAdvancedMDRecordGUI ilMediaPoolTableGUI::$adv_filter_record_gui
protected

Definition at line 49 of file class.ilMediaPoolTableGUI.php.

Referenced by getAdvMDRecordGUI().

◆ $all_objects

bool ilMediaPoolTableGUI::$all_objects = false
protected

Definition at line 40 of file class.ilMediaPoolTableGUI.php.

◆ $clipboard_manager

ILIAS MediaPool Clipboard ClipboardManager ilMediaPoolTableGUI::$clipboard_manager
protected

Definition at line 42 of file class.ilMediaPoolTableGUI.php.

◆ $current_folder

int ilMediaPoolTableGUI::$current_folder = 0
protected

Definition at line 36 of file class.ilMediaPoolTableGUI.php.

Referenced by __construct().

◆ $filter

array ilMediaPoolTableGUI::$filter = []
protected

Definition at line 35 of file class.ilMediaPoolTableGUI.php.

◆ $folder_par

string ilMediaPoolTableGUI::$folder_par
protected

Definition at line 37 of file class.ilMediaPoolTableGUI.php.

◆ $insert_command

string ilMediaPoolTableGUI::$insert_command = "create_mob"

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

Referenced by getInsertCommand().

◆ $media_pool

ilObjMediaPool ilMediaPoolTableGUI::$media_pool
protected

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

◆ $mode

string ilMediaPoolTableGUI::$mode = ""
protected

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

Referenced by getMode().

◆ $parent_tpl

ilGlobalTemplateInterface ilMediaPoolTableGUI::$parent_tpl = null
protected

Definition at line 48 of file class.ilMediaPoolTableGUI.php.

◆ $pool_repo

MediaPoolRepository ilMediaPoolTableGUI::$pool_repo
protected

Definition at line 50 of file class.ilMediaPoolTableGUI.php.

◆ $rbacreview

ilRbacReview ilMediaPoolTableGUI::$rbacreview
protected

Definition at line 45 of file class.ilMediaPoolTableGUI.php.

◆ $request

ILIAS MediaPool StandardGUIRequest ilMediaPoolTableGUI::$request
protected

Definition at line 41 of file class.ilMediaPoolTableGUI.php.

◆ $tree

ilTree ilMediaPoolTableGUI::$tree
protected

Definition at line 38 of file class.ilMediaPoolTableGUI.php.

◆ $ui

ILIAS DI UIServices ilMediaPoolTableGUI::$ui
protected

Definition at line 32 of file class.ilMediaPoolTableGUI.php.

◆ $user

ilObjUser ilMediaPoolTableGUI::$user
protected

Definition at line 46 of file class.ilMediaPoolTableGUI.php.

◆ IL_MEP_EDIT

const ilMediaPoolTableGUI::IL_MEP_EDIT = "edit"

◆ IL_MEP_SELECT

const ilMediaPoolTableGUI::IL_MEP_SELECT = "select"

◆ IL_MEP_SELECT_CONTENT

const ilMediaPoolTableGUI::IL_MEP_SELECT_CONTENT = "selectc"

Definition at line 30 of file class.ilMediaPoolTableGUI.php.

Referenced by ilPCContentIncludeGUI\insertFromPool().

◆ IL_MEP_SELECT_SINGLE

const ilMediaPoolTableGUI::IL_MEP_SELECT_SINGLE = "selectsingle"

Definition at line 31 of file class.ilMediaPoolTableGUI.php.

Referenced by ilPCMediaObjectGUI\insertFromPool().


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