ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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) | |
setAdvMdRecordObject ($a_adv_ref_id, $a_adv_type, $a_adv_subtype="-") | |
Set object, that defines the adv md records being used. More... | |
getAdvMdRecordObject () | |
Get adv md record type. More... | |
getTab ($a_base_class=null) | |
Get tab link if available. More... | |
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 | |
$adv_ref_id = null | |
$adv_type = null | |
$adv_subtype = 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 75 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 236 of file class.ilObjectMetaDataGUI.php.
Referenced by ilSCORM2004ScoGUI\executeCommand(), ilSCORM2004ChapterGUI\executeCommand(), ilStructureObjectGUI\executeCommand(), and ilObjMediaObjectGUI\executeCommand().
|
protected |
Definition at line 359 of file class.ilObjectMetaDataGUI.php.
References hasActiveRecords().
Referenced by getTab(), and setSubTabs().
|
protected |
Definition at line 504 of file class.ilObjectMetaDataGUI.php.
References $tpl, and initEditForm().
Referenced by update().
|
protected |
Definition at line 622 of file class.ilObjectMetaDataGUI.php.
References $form, and initTaxonomySettingsForm().
ilObjectMetaDataGUI::enableTaxonomyDefinition | ( | $a_enable | ) |
Enable taxonomy definition.
Definition at line 215 of file class.ilObjectMetaDataGUI.php.
ilObjectMetaDataGUI::executeCommand | ( | ) |
Definition at line 131 of file class.ilObjectMetaDataGUI.php.
References $ctrl, $form, $ilCtrl, getLOMType(), initEditForm(), and setSubTabs().
ilObjectMetaDataGUI::getAdvMdRecordObject | ( | ) |
Get adv md record type.
Definition at line 273 of file class.ilObjectMetaDataGUI.php.
References $adv_ref_id, $adv_subtype, $adv_type, $obj_type, $ref_id, and $sub_type.
Referenced by getBlockHTML(), getKeyValueList(), hasActiveRecords(), and isAdvMDAvailable().
ilObjectMetaDataGUI::getBlockHTML | ( | array | $a_cmds = null , |
$a_callback = null |
|||
) |
Definition at line 546 of file class.ilObjectMetaDataGUI.php.
References $adv_ref_id, $adv_subtype, $adv_type, $html, $lng, $obj_id, $sub_id, $sub_type, $url, ilAdvancedMDRecord\_getSelectedRecordsByObject(), and getAdvMdRecordObject().
ilObjectMetaDataGUI::getKeyValueList | ( | ) |
Definition at line 576 of file class.ilObjectMetaDataGUI.php.
References $adv_ref_id, $adv_subtype, $adv_type, $html, $obj_id, $sub_id, $sub_type, ilAdvancedMDRecord\_getSelectedRecordsByObject(), getAdvMdRecordObject(), ilADTFactory\getInstance(), ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
|
protected |
Definition at line 245 of file class.ilObjectMetaDataGUI.php.
References $obj_type, and $sub_type.
Referenced by __construct(), executeCommand(), and isLOMAvailable().
ilObjectMetaDataGUI::getTab | ( | $a_base_class = null | ) |
Get tab link if available.
null | $a_base_class |
Definition at line 379 of file class.ilObjectMetaDataGUI.php.
References $ctrl, $ilCtrl, $path, 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 230 of file class.ilObjectMetaDataGUI.php.
References $tax_obj_gui.
ilObjectMetaDataGUI::getTaxonomySettings | ( | ) |
Get taxonomy settings.
Definition at line 204 of file class.ilObjectMetaDataGUI.php.
|
protected |
check if active records exist in current path anf for object type
Definition at line 345 of file class.ilObjectMetaDataGUI.php.
References $adv_ref_id, $adv_subtype, $adv_type, ilAdvancedMDRecord\_getSelectedRecordsByObject(), and getAdvMdRecordObject().
Referenced by canEdit().
|
protected |
Definition at line 325 of file class.ilObjectMetaDataGUI.php.
References ilContainer\_lookupContainerSetting(), and ilObjectServiceSettingsGUI\CUSTOM_METADATA.
Referenced by getTab(), and setSubTabs().
|
protected |
Definition at line 473 of file class.ilObjectMetaDataGUI.php.
References $ctrl, $form, $ilCtrl, $lng, and ilAdvancedMDRecordGUI\MODE_EDITOR.
Referenced by edit(), executeCommand(), and update().
|
protected |
Init taxonomy settings form.
Definition at line 633 of file class.ilObjectMetaDataGUI.php.
References $form.
Referenced by editTaxonomySettings(), and saveTaxonomySettings().
|
protected |
Definition at line 282 of file class.ilObjectMetaDataGUI.php.
References $adv_ref_id, $adv_subtype, $adv_type, ilAdvancedMDRecord\_getAssignableObjectTypes(), and getAdvMdRecordObject().
Referenced by getTab(), and setSubTabs().
|
protected |
Definition at line 301 of file class.ilObjectMetaDataGUI.php.
References $type, and getLOMType().
Referenced by getTab(), and setSubTabs().
|
protected |
Save taxonomy settings form.
Definition at line 649 of file class.ilObjectMetaDataGUI.php.
References $form, and initTaxonomySettingsForm().
ilObjectMetaDataGUI::setAdvMdRecordObject | ( | $a_adv_ref_id, | |
$a_adv_type, | |||
$a_adv_subtype = "-" |
|||
) |
Set object, that defines the adv md records being used.
Default is $this->object, but the context may set another object (e.g. media pool for media objects)
string | $a_val | adv type |
Definition at line 261 of file class.ilObjectMetaDataGUI.php.
ilObjectMetaDataGUI::setSubTabs | ( | $a_active | ) |
Definition at line 409 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 193 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 515 of file class.ilObjectMetaDataGUI.php.
References $ctrl, $form, $ilCtrl, $lng, edit(), and initEditForm().
|
protected |
Definition at line 58 of file class.ilObjectMetaDataGUI.php.
Referenced by getAdvMdRecordObject(), getBlockHTML(), getKeyValueList(), hasActiveRecords(), and isAdvMDAvailable().
|
protected |
Definition at line 66 of file class.ilObjectMetaDataGUI.php.
Referenced by getAdvMdRecordObject(), getBlockHTML(), getKeyValueList(), hasActiveRecords(), and isAdvMDAvailable().
|
protected |
Definition at line 62 of file class.ilObjectMetaDataGUI.php.
Referenced by getAdvMdRecordObject(), getBlockHTML(), getKeyValueList(), hasActiveRecords(), and isAdvMDAvailable().
|
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 getAdvMdRecordObject(), and getLOMType().
|
protected |
Definition at line 34 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 35 of file class.ilObjectMetaDataGUI.php.
Referenced by __construct(), and getAdvMdRecordObject().
|
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 getAdvMdRecordObject(), 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().