ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilObjectMetaDataGUI Class Reference

Class ilObjectMetaDataGUI. More...

+ Collaboration diagram for ilObjectMetaDataGUI:

Public Member Functions

 __construct (ilObject $a_object=null, $a_sub_type=null, $a_sub_id=null)
 Construct. More...
 
 executeCommand ()
 
 setTaxonomySettings (closure $a_form_manipulator, closure $a_form_saver)
 Set taxonomy settings. More...
 
 getTaxonomySettings ()
 Get taxonomy settings. More...
 
 enableTaxonomyDefinition ($a_enable)
 Enable taxonomy definition. More...
 
 getTaxonomyObjGUI ()
 Get taxonomy obj gui. More...
 
 addMDObserver ($a_class, $a_method, $a_section)
 
 getTab ($a_base_class=null)
 
 setSubTabs ($a_active)
 
 getBlockHTML (array $a_cmds=null, $a_callback=null)
 
 getKeyValueList ()
 

Protected Member Functions

 getLOMType ()
 
 isAdvMDAvailable ()
 
 isLOMAvailable ()
 
 hasAdvancedMDSettings ()
 
 hasActiveRecords ()
 check if active records exist in current path anf for object type More...
 
 canEdit ()
 
 initEditForm ()
 
 edit (ilPropertyFormGUI $a_form=null)
 
 update ()
 
 editTaxonomySettings ()
 
 initTaxonomySettingsForm ()
 Init taxonomy settings form. More...
 
 saveTaxonomySettings ()
 Save taxonomy settings form. More...
 

Protected Attributes

 $ctrl
 
 $tabs
 
 $lng
 
 $tpl
 
 $object
 
 $ref_id
 
 $obj_id
 
 $obj_type
 
 $sub_type
 
 $sub_id
 
 $md_observers
 
 $tax_md_gui = null
 
 $tax_obj_gui = null
 
 $taxonomy_settings_form_manipulator = null
 
 $taxonomy_settings_form_saver = null
 

Private Attributes

 $logger = null
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilObjectMetaDataGUI::__construct ( ilObject  $a_object = null,
  $a_sub_type = null,
  $a_sub_id = null 
)

Construct.

Parameters
ilObject$a_object
string$a_sub_type
Returns
self

Definition at line 59 of file class.ilObjectMetaDataGUI.php.

60 {
61 global $DIC;
62
63 $this->ctrl = $DIC->ctrl();
64 $this->lng = $DIC->language();
65 $this->tpl = $DIC["tpl"];
66 $this->tabs = $DIC->tabs();
67
68
69 $this->logger = $GLOBALS['DIC']->logger()->obj();
70
71 $this->in_workspace = (bool) $_REQUEST["wsp_id"];
72
73 $this->sub_type = $a_sub_type;
74 $this->sub_id = $a_sub_id;
75
76
77
78 if (!$this->sub_type) {
79 $this->sub_type = "-";
80 }
81
82 if ($a_object) {
83 $this->object = $a_object;
84 $this->obj_id = $a_object->getId();
85 $this->obj_type = $a_object->getType();
86 $this->ref_id = $a_object->getRefId();
87
88 if (!$a_object->withReferences()) {
89 $this->logger->logStack(ilLogLevel::WARNING);
90 $this->logger->warning('ObjectMetaDataGUI called without valid reference id.');
91 }
92
93 if (!$this->ref_id) {
94 $this->logger->logStack(ilLogLevel::WARNING);
95 $this->logger->warning('ObjectMetaDataGUI called without valid reference id.');
96 }
97
98 $this->md_obj = new ilMD((int) $this->obj_id, (int) $this->sub_id, $this->getLOMType());
99
100 if (!$this->in_workspace) {
101 // (parent) container taxonomies?
102 include_once "Services/Taxonomy/classes/class.ilTaxMDGUI.php";
103 $this->tax_md_gui = new ilTaxMDGUI($this->md_obj->getRBACId(), $this->md_obj->getObjId(), $this->md_obj->getObjType(), $this->ref_id);
104 $tax_ids = $this->tax_md_gui->getSelectableTaxonomies();
105 if (!is_array($tax_ids) || count($tax_ids) == 0) {
106 $this->tax_md_gui = null;
107 }
108 }
109 }
110
111 $this->lng->loadLanguageModule("meta");
112 $this->lng->loadLanguageModule("tax");
113 }
getType()
get object type @access public
withReferences()
determines wehter objects are referenced or not (got ref ids or not)
getRefId()
get reference id @access public
getId()
get object id @access public
Taxonomies selection for metadata helper GUI.
$GLOBALS['loaded']
Global hash that tracks already loaded includes.
global $DIC
Definition: saml.php:7

References $DIC, $GLOBALS, getLOMType(), and ilLogLevel\WARNING.

+ Here is the call graph for this function:

Member Function Documentation

◆ addMDObserver()

ilObjectMetaDataGUI::addMDObserver (   $a_class,
  $a_method,
  $a_section 
)

Definition at line 214 of file class.ilObjectMetaDataGUI.php.

215 {
216 $this->md_observers[] = array(
217 "class" => $a_class,
218 "method" => $a_method,
219 "section" => $a_section
220 );
221 }

◆ canEdit()

ilObjectMetaDataGUI::canEdit ( )
protected

Definition at line 299 of file class.ilObjectMetaDataGUI.php.

300 {
301 if ($this->hasActiveRecords() &&
302 $this->obj_id) {
303 if ($this->sub_type == "-" ||
304 $this->sub_id) {
305 return true;
306 }
307 }
308 return false;
309 }
hasActiveRecords()
check if active records exist in current path anf for object type

References hasActiveRecords().

Referenced by getTab(), and setSubTabs().

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

◆ edit()

ilObjectMetaDataGUI::edit ( ilPropertyFormGUI  $a_form = null)
protected

Definition at line 433 of file class.ilObjectMetaDataGUI.php.

434 {
436
437 if (!$a_form) {
438 $a_form = $this->initEditForm();
439 }
440
441 $tpl->setContent($a_form->getHTML());
442 }

References $tpl, and initEditForm().

Referenced by update().

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

◆ editTaxonomySettings()

ilObjectMetaDataGUI::editTaxonomySettings ( )
protected

Definition at line 549 of file class.ilObjectMetaDataGUI.php.

550 {
551 $this->tabs->activateSubTab("tax_settings");
552
554 $this->tpl->setContent($form->getHTML());
555 }
initTaxonomySettingsForm()
Init taxonomy settings form.
if(isset($_POST['submit'])) $form

References $form, and initTaxonomySettingsForm().

+ Here is the call graph for this function:

◆ enableTaxonomyDefinition()

ilObjectMetaDataGUI::enableTaxonomyDefinition (   $a_enable)

Enable taxonomy definition.

Parameters

return

Definition at line 193 of file class.ilObjectMetaDataGUI.php.

194 {
195 if ($a_enable) {
196 $this->tax_obj_gui = new ilObjTaxonomyGUI();
197 $this->tax_obj_gui->setAssignedObject($this->object->getId());
198 } else {
199 $this->tax_obj_gui = null;
200 }
201 }
Taxonomy GUI class.

◆ executeCommand()

ilObjectMetaDataGUI::executeCommand ( )

Definition at line 115 of file class.ilObjectMetaDataGUI.php.

116 {
118
119 $next_class = $ilCtrl->getNextClass($this);
120 $cmd = $ilCtrl->getCmd("edit");
121
122 switch ($next_class) {
123 case 'ilmdeditorgui':
124 $this->setSubTabs("lom");
125 include_once 'Services/MetaData/classes/class.ilMDEditorGUI.php';
126 $md_gui = new ilMDEditorGUI((int) $this->obj_id, (int) $this->sub_id, $this->getLOMType());
127 // custom observers?
128 if (is_array($this->md_observers)) {
129 foreach ($this->md_observers as $observer) {
130 $md_gui->addObserver($observer["class"], $observer["method"], $observer["section"]);
131 }
132 }
133 // "default" repository object observer
134 elseif (!$this->sub_id &&
135 $this->object) {
136 $md_gui->addObserver($this->object, 'MDUpdateListener', 'General');
137 }
138 $ilCtrl->forwardCommand($md_gui);
139 break;
140
141 case 'iladvancedmdsettingsgui':
142 $this->setSubTabs("advmddef");
143 include_once 'Services/AdvancedMetaData/classes/class.ilAdvancedMDSettingsGUI.php';
144 $advmdgui = new ilAdvancedMDSettingsGUI($this->ref_id, $this->obj_type, $this->sub_type);
145 $ilCtrl->forwardCommand($advmdgui);
146 break;
147
148 case 'iltaxmdgui':
149 $this->setSubTabs("tax_assignment");
150 $ilCtrl->forwardCommand($this->tax_md_gui);
151 break;
152
153 case 'ilobjtaxonomygui':
154 $this->setSubTabs("tax_definition");
155 include_once("./Services/Taxonomy/classes/class.ilObjTaxonomyGUI.php");
156 $ilCtrl->forwardCommand($this->tax_obj_gui);
157 break;
158
159 default:
160 $this->setSubTabs("advmd");
161 $this->$cmd();
162 break;
163 }
164 }
global $ilCtrl
Definition: ilias.php:18

References $ctrl, $ilCtrl, getLOMType(), and setSubTabs().

+ Here is the call graph for this function:

◆ getBlockHTML()

ilObjectMetaDataGUI::getBlockHTML ( array  $a_cmds = null,
  $a_callback = null 
)

Definition at line 475 of file class.ilObjectMetaDataGUI.php.

476 {
478
479 $html = "";
480
481 include_once "Services/Object/classes/class.ilObjectMetaDataBlockGUI.php";
482 include_once "Services/AdvancedMetaData/classes/class.ilAdvancedMDRecord.php";
483 include_once "Services/AdvancedMetaData/classes/class.ilAdvancedMDValues.php";
484 foreach (ilAdvancedMDRecord::_getSelectedRecordsByObject($this->obj_type, $this->ref_id, $this->sub_type) as $record) {
485 $block = new ilObjectMetaDataBlockGUI($record, $a_callback);
486 $block->setValues(new ilAdvancedMDValues($record->getRecordId(), $this->obj_id, $this->sub_type, $this->sub_id));
487 if ($a_cmds) {
488 foreach ($a_cmds as $caption => $url) {
489 $block->addBlockCommand($url, $lng->txt($caption), "_top");
490 }
491 }
492 $html.= $block->getHTML();
493 }
494
495 return $html;
496 }
static _getSelectedRecordsByObject($a_obj_type, $a_ref_id, $a_sub_type="")
Get selected records by object.
$html
Definition: example_001.php:87
$url

References $html, $lng, $url, and ilAdvancedMDRecord\_getSelectedRecordsByObject().

+ Here is the call graph for this function:

◆ getKeyValueList()

ilObjectMetaDataGUI::getKeyValueList ( )

Definition at line 504 of file class.ilObjectMetaDataGUI.php.

505 {
506 $html = "";
507 $sep = "";
508
511
512 include_once "Services/AdvancedMetaData/classes/class.ilAdvancedMDRecord.php";
513 include_once "Services/AdvancedMetaData/classes/class.ilAdvancedMDValues.php";
514 foreach (ilAdvancedMDRecord::_getSelectedRecordsByObject($this->obj_type, $this->ref_id, $this->sub_type) as $record) {
515 $vals = new ilAdvancedMDValues($record->getRecordId(), $this->obj_id, $this->sub_type, $this->sub_id);
516
517
518 include_once('Services/AdvancedMetaData/classes/class.ilAdvancedMDValues.php');
519 include_once('Services/ADT/classes/class.ilADTFactory.php');
520
521 // this correctly binds group and definitions
522 $vals->read();
523
524 $defs = $vals->getDefinitions();
525 foreach ($vals->getADTGroup()->getElements() as $element_id => $element) {
526 if ($element instanceof ilADTLocation) {
527 continue;
528 }
529
530 $html.= $sep . $defs[$element_id]->getTitle() . ": ";
531
532 if ($element->isNull()) {
533 $value = "-";
534 } else {
535 $value = ilADTFactory::getInstance()->getPresentationBridgeForInstance($element);
536
537 $value = $value->getHTML();
538 }
539 $html.= $value;
540 $sep = ",    ";
541 }
542 }
543
545
546 return $html;
547 }
static getInstance()
Get singleton.
static setUseRelativeDates($a_status)
set use relative dates
static useRelativeDates()
check if relative dates are used

References $html, ilAdvancedMDRecord\_getSelectedRecordsByObject(), ilADTFactory\getInstance(), ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().

+ Here is the call graph for this function:

◆ getLOMType()

ilObjectMetaDataGUI::getLOMType ( )
protected

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

224 {
225 if ($this->sub_type != "-" &&
226 $this->sub_id) {
227 return $this->sub_type;
228 } else {
229 return $this->obj_type;
230 }
231 }

References $obj_type, and $sub_type.

Referenced by __construct(), executeCommand(), and isLOMAvailable().

+ Here is the caller graph for this function:

◆ getTab()

ilObjectMetaDataGUI::getTab (   $a_base_class = null)

Definition at line 311 of file class.ilObjectMetaDataGUI.php.

312 {
314
315 if (!$a_base_class) {
316 $path = array();
317 } else {
318 $path = array($a_base_class);
319 }
320 $path[] = "ilobjectmetadatagui";
321
322 $link = null;
323 if ($this->isLOMAvailable()) {
324 $path[] = "ilmdeditorgui";
325 $link = $ilCtrl->getLinkTargetByClass($path, "listSection");
326 } elseif ($this->isAdvMDAvailable()) {
327 if ($this->canEdit()) {
328 $link = $ilCtrl->getLinkTarget($this, "edit");
329 } elseif ($this->hasAdvancedMDSettings()) {
330 $path[] = "iladvancedmdsettingsgui";
331 $link = $ilCtrl->getLinkTargetByClass($path, "showRecords");
332 }
333 }
334 if ($link == null && is_object($this->tax_obj_gui)) { // taxonomy definition available?
335 $path[] = "ilobjtaxonomygui";
336 $link = $ilCtrl->getLinkTargetByClass($path, "");
337 }
338 return $link;
339 }

References $ctrl, $ilCtrl, $path, canEdit(), hasAdvancedMDSettings(), isAdvMDAvailable(), and isLOMAvailable().

+ Here is the call graph for this function:

◆ getTaxonomyObjGUI()

ilObjectMetaDataGUI::getTaxonomyObjGUI ( )

Get taxonomy obj gui.

Returns
ilObjTaxonomyGUI|null

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

References $tax_obj_gui.

◆ getTaxonomySettings()

ilObjectMetaDataGUI::getTaxonomySettings ( )

Get taxonomy settings.

Returns
string link traget

Definition at line 182 of file class.ilObjectMetaDataGUI.php.

183 {
184 return $this->taxonomy_settings;
185 }

◆ hasActiveRecords()

ilObjectMetaDataGUI::hasActiveRecords ( )
protected

check if active records exist in current path anf for object type

Returns
type

Definition at line 288 of file class.ilObjectMetaDataGUI.php.

289 {
290 include_once 'Services/AdvancedMetaData/classes/class.ilAdvancedMDRecord.php';
291 return
293 $this->obj_type,
294 $this->ref_id,
295 $this->sub_type
296 ));
297 }

References ilAdvancedMDRecord\_getSelectedRecordsByObject().

Referenced by canEdit().

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

◆ hasAdvancedMDSettings()

ilObjectMetaDataGUI::hasAdvancedMDSettings ( )
protected

Definition at line 268 of file class.ilObjectMetaDataGUI.php.

269 {
270 if ($this->sub_id) {
271 return false;
272 }
273
274 include_once 'Services/Container/classes/class.ilContainer.php';
275 include_once 'Services/Object/classes/class.ilObjectServiceSettingsGUI.php';
276
278 $this->obj_id,
280 false
281 );
282 }
static _lookupContainerSetting($a_id, $a_keyword, $a_default_value=null)
Lookup a container setting.

References ilContainer\_lookupContainerSetting(), and ilObjectServiceSettingsGUI\CUSTOM_METADATA.

Referenced by getTab(), and setSubTabs().

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

◆ initEditForm()

ilObjectMetaDataGUI::initEditForm ( )
protected

Definition at line 407 of file class.ilObjectMetaDataGUI.php.

408 {
411
412 include_once("./Services/Form/classes/class.ilPropertyFormGUI.php");
413 $form = new ilPropertyFormGUI();
414 $form->setFormAction($ilCtrl->getFormAction($this, "update"));
415 $form->setTitle($lng->txt("meta_tab_advmd"));
416
417 include_once('Services/AdvancedMetaData/classes/class.ilAdvancedMDRecordGUI.php');
418 $this->record_gui = new ilAdvancedMDRecordGUI(
420 $this->obj_type,
421 $this->obj_id,
422 $this->sub_type,
423 $this->sub_id
424 );
425 $this->record_gui->setPropertyForm($form);
426 $this->record_gui->parse();
427
428 $form->addCommandButton("update", $lng->txt("save"));
429
430 return $form;
431 }
This class represents a property form user interface.

References $ctrl, $form, $ilCtrl, $lng, and ilAdvancedMDRecordGUI\MODE_EDITOR.

Referenced by edit(), and update().

+ Here is the caller graph for this function:

◆ initTaxonomySettingsForm()

ilObjectMetaDataGUI::initTaxonomySettingsForm ( )
protected

Init taxonomy settings form.

Definition at line 560 of file class.ilObjectMetaDataGUI.php.

561 {
562 include_once("Services/Form/classes/class.ilPropertyFormGUI.php");
563 $form = new ilPropertyFormGUI();
564 $form->setFormAction($this->ctrl->getFormAction($this), "saveTaxonomySettings");
565 $form->setTitle($this->lng->txt("tax_tax_settings"));
566 $this->taxonomy_settings_form_manipulator->bindTo($this);
567 call_user_func_array($this->taxonomy_settings_form_manipulator, [$form]);
568 $form->addCommandButton("saveTaxonomySettings", $this->lng->txt("save"));
569
570 return $form;
571 }

References $form.

Referenced by editTaxonomySettings(), and saveTaxonomySettings().

+ Here is the caller graph for this function:

◆ isAdvMDAvailable()

ilObjectMetaDataGUI::isAdvMDAvailable ( )
protected

Definition at line 233 of file class.ilObjectMetaDataGUI.php.

234 {
235 include_once 'Services/AdvancedMetaData/classes/class.ilAdvancedMDRecord.php';
236 foreach (ilAdvancedMDRecord::_getAssignableObjectTypes(false) as $item) {
237 if ($item["obj_type"] == $this->obj_type) {
238 return ((!$item["sub_type"] && $this->sub_type == "-") ||
239 ($item["sub_type"] == $this->sub_type));
240 }
241 }
242 return false;
243 }
static _getAssignableObjectTypes($a_include_text=false)
Get assignable object type.

References ilAdvancedMDRecord\_getAssignableObjectTypes().

Referenced by getTab(), and setSubTabs().

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

◆ isLOMAvailable()

ilObjectMetaDataGUI::isLOMAvailable ( )
protected

Definition at line 245 of file class.ilObjectMetaDataGUI.php.

246 {
247 $type = $this->getLOMType();
248 if ($type == $this->sub_type) {
249 $type = $this->obj_type . ":" . $type;
250 }
251
252 return (($this->obj_id || !$this->obj_type) &&
253 in_array($type, array(
254 "crs",
255 "file",
256 "glo", "glo:gdf",
257 "svy", "spl",
258 "tst", "qpl",
259 ":mob",
260 "webr",
261 "htlm",
262 "lm", "lm:st", "lm:pg",
263 "sahs", "sahs:sco", "sahs:page",
264 'sess'
265 )));
266 }
$type

References $type, and getLOMType().

Referenced by getTab(), and setSubTabs().

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

◆ saveTaxonomySettings()

ilObjectMetaDataGUI::saveTaxonomySettings ( )
protected

Save taxonomy settings form.

Definition at line 576 of file class.ilObjectMetaDataGUI.php.

577 {
579 if ($form->checkInput()) {
580 $this->taxonomy_settings_form_saver->bindTo($this);
581 call_user_func_array($this->taxonomy_settings_form_saver, [$form]);
582 ilUtil::sendSuccess($this->lng->txt("msg_obj_modified"), true);
583 $this->ctrl->redirect($this, "editTaxonomySettings");
584 } else {
585 $form->setValuesByPost();
586 $this->tpl->setContent($form->getHtml());
587 }
588 }
static sendSuccess($a_info="", $a_keep=false)
Send Success Message to Screen.

References $form, initTaxonomySettingsForm(), and ilUtil\sendSuccess().

+ Here is the call graph for this function:

◆ setSubTabs()

ilObjectMetaDataGUI::setSubTabs (   $a_active)

Definition at line 341 of file class.ilObjectMetaDataGUI.php.

342 {
343 $ilTabs = $this->tabs;
346
347 if ($this->isLOMAvailable()) {
348 $ilTabs->addSubTab(
349 "lom",
350 $lng->txt("meta_tab_lom"),
351 $ilCtrl->getLinkTargetByClass("ilmdeditorgui", "listSection")
352 );
353 }
354
355 if ($this->isAdvMDAvailable()) {
356 if ($this->canEdit()) {
357 $ilTabs->addSubTab(
358 "advmd",
359 $lng->txt("meta_tab_advmd"),
360 $ilCtrl->getLinkTarget($this, "edit")
361 );
362 }
363
364 if ($this->hasAdvancedMDSettings()) {
365 $ilTabs->addSubTab(
366 "advmddef",
367 $lng->txt("meta_tab_advmd_def"),
368 $ilCtrl->getLinkTargetByClass("iladvancedmdsettingsgui", "showRecords")
369 );
370
371 $ilTabs->addSubTab(
372 "md_adv_file_list",
373 $lng->txt("md_adv_file_list"),
374 $ilCtrl->getLinkTargetByClass("iladvancedmdsettingsgui", "showFiles")
375 );
376 }
377 }
378
379 if ($this->tax_md_gui != null) {
380 $this->tax_md_gui->addSubTab();
381 }
382
383 if ($this->tax_obj_gui != null) {
384 $ilTabs->addSubTab(
385 "tax_definition",
386 $lng->txt("cntr_taxonomy_definitions"),
387 $ilCtrl->getLinkTargetByClass("ilobjtaxonomygui", "")
388 );
389 }
390
391 if ($this->taxonomy_settings_form_manipulator != null) {
392 $ilTabs->addSubTab(
393 "tax_settings",
394 $lng->txt("tax_tax_settings"),
395 $ilCtrl->getLinkTarget($this, "editTaxonomySettings")
396 );
397 }
398
399 $ilTabs->activateSubTab($a_active);
400 }

References $ctrl, $ilCtrl, $lng, $tabs, canEdit(), hasAdvancedMDSettings(), isAdvMDAvailable(), and isLOMAvailable().

Referenced by executeCommand().

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

◆ setTaxonomySettings()

ilObjectMetaDataGUI::setTaxonomySettings ( closure  $a_form_manipulator,
closure  $a_form_saver 
)

Set taxonomy settings.

Parameters
string$a_linklink traget

Definition at line 171 of file class.ilObjectMetaDataGUI.php.

172 {
173 $this->taxonomy_settings_form_manipulator = $a_form_manipulator;
174 $this->taxonomy_settings_form_saver = $a_form_saver;
175 }

◆ update()

ilObjectMetaDataGUI::update ( )
protected

Definition at line 444 of file class.ilObjectMetaDataGUI.php.

445 {
448
449 $form = $this->initEditForm();
450 if (
451 $form->checkInput() &&
452 $this->record_gui->importEditFormPostValues()) {
453 $this->record_gui->writeEditForm();
454
455 // Update ECS content
456 if ($this->obj_type == "crs") {
457 include_once "Modules/Course/classes/class.ilECSCourseSettings.php";
458 $ecs = new ilECSCourseSettings($this->object);
459 $ecs->handleContentUpdate();
460 }
461
462 ilUtil::sendSuccess($lng->txt("settings_saved"), true);
463 $ilCtrl->redirect($this, "edit");
464 }
465
466 $form->setValuesByPost();
467 $this->edit($form);
468 }
Class ilECSCourseSettings.
edit(ilPropertyFormGUI $a_form=null)

References $ctrl, $form, $ilCtrl, $lng, edit(), initEditForm(), and ilUtil\sendSuccess().

+ Here is the call graph for this function:

Field Documentation

◆ $ctrl

ilObjectMetaDataGUI::$ctrl
protected

◆ $lng

ilObjectMetaDataGUI::$lng
protected

Definition at line 27 of file class.ilObjectMetaDataGUI.php.

Referenced by getBlockHTML(), initEditForm(), setSubTabs(), and update().

◆ $logger

ilObjectMetaDataGUI::$logger = null
private

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

◆ $md_observers

ilObjectMetaDataGUI::$md_observers
protected

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

◆ $obj_id

ilObjectMetaDataGUI::$obj_id
protected

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

◆ $obj_type

ilObjectMetaDataGUI::$obj_type
protected

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

Referenced by getLOMType().

◆ $object

ilObjectMetaDataGUI::$object
protected

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

◆ $ref_id

ilObjectMetaDataGUI::$ref_id
protected

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

◆ $sub_id

ilObjectMetaDataGUI::$sub_id
protected

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

◆ $sub_type

ilObjectMetaDataGUI::$sub_type
protected

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

Referenced by getLOMType().

◆ $tabs

ilObjectMetaDataGUI::$tabs
protected

Definition at line 22 of file class.ilObjectMetaDataGUI.php.

Referenced by setSubTabs().

◆ $tax_md_gui

ilObjectMetaDataGUI::$tax_md_gui = null
protected

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

◆ $tax_obj_gui

ilObjectMetaDataGUI::$tax_obj_gui = null
protected

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

Referenced by getTaxonomyObjGUI().

◆ $taxonomy_settings_form_manipulator

ilObjectMetaDataGUI::$taxonomy_settings_form_manipulator = null
protected

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

◆ $taxonomy_settings_form_saver

ilObjectMetaDataGUI::$taxonomy_settings_form_saver = null
protected

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

◆ $tpl

ilObjectMetaDataGUI::$tpl
protected

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

Referenced by edit().


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