|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
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) | |
| 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.
@ilCtrl_Calls 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, getLOMType(), and ilLogLevel\WARNING.
Here is the call graph for this function:| ilObjectMetaDataGUI::addMDObserver | ( | $a_class, | |
| $a_method, | |||
| $a_section | |||
| ) |
Definition at line 236 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 360 of file class.ilObjectMetaDataGUI.php.
References hasActiveRecords().
Referenced by getTab(), and setSubTabs().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 505 of file class.ilObjectMetaDataGUI.php.
References $tpl, and initEditForm().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 623 of file class.ilObjectMetaDataGUI.php.
References initTaxonomySettingsForm().
Here is the call graph for this function:| ilObjectMetaDataGUI::enableTaxonomyDefinition | ( | $a_enable | ) |
Enable taxonomy definition.
return
Definition at line 215 of file class.ilObjectMetaDataGUI.php.
| ilObjectMetaDataGUI::executeCommand | ( | ) |
Definition at line 131 of file class.ilObjectMetaDataGUI.php.
References $ctrl, $ilCtrl, getLOMType(), initEditForm(), and setSubTabs().
Here is the call graph for this function:| 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().
Here is the caller graph for this function:| ilObjectMetaDataGUI::getBlockHTML | ( | array | $a_cmds = null, |
$a_callback = null |
|||
| ) |
Definition at line 547 of file class.ilObjectMetaDataGUI.php.
References $adv_ref_id, $adv_subtype, $adv_type, $lng, $url, ilAdvancedMDRecord\_getSelectedRecordsByObject(), and getAdvMdRecordObject().
Here is the call graph for this function:| ilObjectMetaDataGUI::getKeyValueList | ( | ) |
Definition at line 577 of file class.ilObjectMetaDataGUI.php.
References $adv_ref_id, $adv_subtype, $adv_type, ilAdvancedMDRecord\_getSelectedRecordsByObject(), getAdvMdRecordObject(), ilADTFactory\getInstance(), ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
Here is the call graph for this function:
|
protected |
Definition at line 245 of file class.ilObjectMetaDataGUI.php.
References $obj_type, and $sub_type.
Referenced by __construct(), executeCommand(), and isLOMAvailable().
Here is the caller graph for this function:| ilObjectMetaDataGUI::getTab | ( | $a_base_class = null | ) |
Get tab link if available.
| null | $a_base_class |
Definition at line 380 of file class.ilObjectMetaDataGUI.php.
References $ctrl, $ilCtrl, canEdit(), hasAdvancedMDSettings(), isAdvMDAvailable(), and isLOMAvailable().
Here is the call graph for this function:| 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 346 of file class.ilObjectMetaDataGUI.php.
References $adv_ref_id, $adv_subtype, $adv_type, ilAdvancedMDRecord\_getSelectedRecordsByObject(), and getAdvMdRecordObject().
Referenced by canEdit().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 326 of file class.ilObjectMetaDataGUI.php.
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:
|
protected |
Definition at line 474 of file class.ilObjectMetaDataGUI.php.
References $ctrl, $ilCtrl, $lng, and ilAdvancedMDRecordGUI\MODE_EDITOR.
Referenced by edit(), executeCommand(), and update().
Here is the caller graph for this function:
|
protected |
Init taxonomy settings form.
Definition at line 634 of file class.ilObjectMetaDataGUI.php.
Referenced by editTaxonomySettings(), and saveTaxonomySettings().
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 301 of file class.ilObjectMetaDataGUI.php.
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:
|
protected |
Save taxonomy settings form.
Definition at line 650 of file class.ilObjectMetaDataGUI.php.
References initTaxonomySettingsForm().
Here is the call graph for this function:| 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 410 of file class.ilObjectMetaDataGUI.php.
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:| 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 516 of file class.ilObjectMetaDataGUI.php.
References $ctrl, $ilCtrl, $lng, edit(), and initEditForm().
Here is the call graph for this function:
|
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.
|
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 getAdvMdRecordObject().
|
protected |
Definition at line 39 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 38 of file class.ilObjectMetaDataGUI.php.
Referenced by getAdvMdRecordObject(), 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().