ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilObjectMetaDataGUI. More...
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 | |
Class ilObjectMetaDataGUI.
ilObjectMetaDataGUI: ilMDEditorGUI, ilAdvancedMDSettingsGUI, ilPropertyFormGUI, ilTaxMDGUI, ilObjTaxonomyGUI
Definition at line 12 of file class.ilObjectMetaDataGUI.php.
ilObjectMetaDataGUI::__construct | ( | ilObject | $a_object = null , |
$a_sub_type = null , |
|||
$a_sub_id = null |
|||
) |
Construct.
ilObject | $a_object | |
string | $a_sub_type |
Definition at line 59 of file class.ilObjectMetaDataGUI.php.
References $DIC, $GLOBALS, $ref_id, getLOMType(), ilTaxMDGUI\getSelectableTaxonomies(), and ilLogLevel\WARNING.
ilObjectMetaDataGUI::addMDObserver | ( | $a_class, | |
$a_method, | |||
$a_section | |||
) |
Definition at line 214 of file class.ilObjectMetaDataGUI.php.
References array.
Referenced by ilSCORM2004ScoGUI\executeCommand(), ilSCORM2004ChapterGUI\executeCommand(), ilStructureObjectGUI\executeCommand(), and ilObjMediaObjectGUI\executeCommand().
|
protected |
Definition at line 299 of file class.ilObjectMetaDataGUI.php.
References hasActiveRecords().
Referenced by getTab(), and setSubTabs().
|
protected |
Definition at line 433 of file class.ilObjectMetaDataGUI.php.
References $tpl, and initEditForm().
Referenced by update().
|
protected |
Definition at line 549 of file class.ilObjectMetaDataGUI.php.
References $form, and initTaxonomySettingsForm().
ilObjectMetaDataGUI::enableTaxonomyDefinition | ( | $a_enable | ) |
Enable taxonomy definition.
Definition at line 193 of file class.ilObjectMetaDataGUI.php.
References object.
ilObjectMetaDataGUI::executeCommand | ( | ) |
Definition at line 115 of file class.ilObjectMetaDataGUI.php.
References $ctrl, $ilCtrl, getLOMType(), and setSubTabs().
ilObjectMetaDataGUI::getBlockHTML | ( | array | $a_cmds = null , |
$a_callback = null |
|||
) |
Definition at line 475 of file class.ilObjectMetaDataGUI.php.
References $html, $lng, $obj_id, $sub_id, $sub_type, $url, and ilAdvancedMDRecord\_getSelectedRecordsByObject().
ilObjectMetaDataGUI::getKeyValueList | ( | ) |
Definition at line 504 of file class.ilObjectMetaDataGUI.php.
References $html, $obj_id, $sub_id, $sub_type, ilAdvancedMDRecord\_getSelectedRecordsByObject(), ilADTFactory\getInstance(), ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
|
protected |
Definition at line 223 of file class.ilObjectMetaDataGUI.php.
References $obj_type, and $sub_type.
Referenced by __construct(), executeCommand(), and isLOMAvailable().
ilObjectMetaDataGUI::getTab | ( | $a_base_class = null | ) |
Definition at line 311 of file class.ilObjectMetaDataGUI.php.
References $ctrl, $ilCtrl, $path, array, canEdit(), hasAdvancedMDSettings(), isAdvMDAvailable(), and isLOMAvailable().
Referenced by ilGlossaryTermGUI\getTabs(), ilObjMediaObjectGUI\getTabs(), ilSCORM2004ChapterGUI\setTabs(), ilSCORM2004ScoGUI\setTabs(), and ilStructureObjectGUI\setTabs().
ilObjectMetaDataGUI::getTaxonomyObjGUI | ( | ) |
Get taxonomy obj gui.
Definition at line 208 of file class.ilObjectMetaDataGUI.php.
References $tax_obj_gui.
ilObjectMetaDataGUI::getTaxonomySettings | ( | ) |
Get taxonomy settings.
Definition at line 182 of file class.ilObjectMetaDataGUI.php.
|
protected |
check if active records exist in current path anf for object type
Definition at line 288 of file class.ilObjectMetaDataGUI.php.
References ilAdvancedMDRecord\_getSelectedRecordsByObject().
Referenced by canEdit().
|
protected |
Definition at line 268 of file class.ilObjectMetaDataGUI.php.
References ilContainer\_lookupContainerSetting(), and ilObjectServiceSettingsGUI\CUSTOM_METADATA.
Referenced by getTab(), and setSubTabs().
|
protected |
Definition at line 407 of file class.ilObjectMetaDataGUI.php.
References $ctrl, $form, $ilCtrl, $lng, and ilAdvancedMDRecordGUI\MODE_EDITOR.
Referenced by edit(), and update().
|
protected |
Init taxonomy settings form.
Definition at line 560 of file class.ilObjectMetaDataGUI.php.
References $form.
Referenced by editTaxonomySettings(), and saveTaxonomySettings().
|
protected |
Definition at line 233 of file class.ilObjectMetaDataGUI.php.
References ilAdvancedMDRecord\_getAssignableObjectTypes().
Referenced by getTab(), and setSubTabs().
|
protected |
Definition at line 245 of file class.ilObjectMetaDataGUI.php.
References $type, array, and getLOMType().
Referenced by getTab(), and setSubTabs().
|
protected |
Save taxonomy settings form.
Definition at line 576 of file class.ilObjectMetaDataGUI.php.
References $form, initTaxonomySettingsForm(), and ilUtil\sendSuccess().
ilObjectMetaDataGUI::setSubTabs | ( | $a_active | ) |
Definition at line 341 of file class.ilObjectMetaDataGUI.php.
References $ctrl, $ilCtrl, $lng, $tabs, canEdit(), hasAdvancedMDSettings(), isAdvMDAvailable(), and isLOMAvailable().
Referenced by executeCommand().
ilObjectMetaDataGUI::setTaxonomySettings | ( | closure | $a_form_manipulator, |
closure | $a_form_saver | ||
) |
Set taxonomy settings.
string | $a_link | link traget |
Definition at line 171 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 444 of file class.ilObjectMetaDataGUI.php.
References $ctrl, $form, $ilCtrl, $lng, edit(), initEditForm(), and ilUtil\sendSuccess().
|
protected |
Definition at line 17 of file class.ilObjectMetaDataGUI.php.
Referenced by executeCommand(), getTab(), initEditForm(), setSubTabs(), and update().
|
protected |
Definition at line 27 of file class.ilObjectMetaDataGUI.php.
Referenced by getBlockHTML(), initEditForm(), setSubTabs(), and update().
|
private |
Definition at line 45 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 40 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 36 of file class.ilObjectMetaDataGUI.php.
Referenced by getBlockHTML(), and getKeyValueList().
|
protected |
Definition at line 37 of file class.ilObjectMetaDataGUI.php.
Referenced by getLOMType().
|
protected |
Definition at line 34 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 35 of file class.ilObjectMetaDataGUI.php.
Referenced by __construct().
|
protected |
Definition at line 39 of file class.ilObjectMetaDataGUI.php.
Referenced by getBlockHTML(), and getKeyValueList().
|
protected |
Definition at line 38 of file class.ilObjectMetaDataGUI.php.
Referenced by getBlockHTML(), getKeyValueList(), and getLOMType().
|
protected |
Definition at line 22 of file class.ilObjectMetaDataGUI.php.
Referenced by setSubTabs().
|
protected |
Definition at line 47 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 48 of file class.ilObjectMetaDataGUI.php.
Referenced by getTaxonomyObjGUI().
|
protected |
Definition at line 49 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 50 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 32 of file class.ilObjectMetaDataGUI.php.
Referenced by edit().