|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilObjectMetaDataGUI:Public Member Functions | |
| __construct (ilObject $object=null, $sub_type=null, int $sub_id=null, bool $in_repository=true) | |
| executeCommand () | |
| setTaxonomySettings (Closure $form_manipulator, Closure $form_saver) | |
| setRecordFilter (?array $filter=null) | |
| Set advanced record filter. More... | |
| enableTaxonomyDefinition (bool $enable) | |
| Enable taxonomy definition. More... | |
| getTaxonomyObjGUI () | |
| addMDObserver (object $class, string $method, string $section) | |
| setAdvMdRecordObject (int $adv_id, string $adv_type, string $adv_subtype="-") | |
| Set object, that defines the adv md records being used. More... | |
| getAdvMdRecordObject () | |
| Get adv md record type. More... | |
| getTab (string $base_class=null) | |
| Get tab link if available. More... | |
| setSubTabs (string $active) | |
| getBlockHTML (?array $commands=null, ?array $callback=null) | |
| Takes as an optional second input an array consisting of the object that the method that should be called back to belongs to, and a string with the name of the method. More... | |
| 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 () | |
| checkFilter (int $record_id) | |
| editTaxonomySettings () | |
| initTaxonomySettingsForm () | |
| saveTaxonomySettings () | |
Protected Attributes | |
| ilCtrl | $ctrl |
| ilTabsGUI | $tabs |
| ilLanguage | $lng |
| ilGlobalTemplateInterface | $tpl |
| ilLogger | $logger = null |
| bool | $in_workspace |
| $sub_type | |
| int | $sub_id |
| bool | $in_repository = true |
| ilObject | $object |
| int | $obj_id = 0 |
| string | $obj_type = "" |
| int | $ref_id = 0 |
| array | $md_observers = null |
| ilTaxMDGUI | $tax_md_gui = null |
| ilObjTaxonomyGUI | $tax_obj_gui = null |
| Closure | $taxonomy_settings_form_manipulator = null |
| Closure | $taxonomy_settings_form_saver = null |
| ilAdvancedMDRecordGUI | $record_gui = null |
| int | $adv_id = null |
| string | $adv_type = null |
| string | $adv_subtype = null |
| array | $record_filter = null |
Private Attributes | |
| ilObjectRequestRetriever | $retriever |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilObjectMetaDataGUI
@ilCtrl_Calls ilObjectMetaDataGUI: ilMDEditorGUI, ilAdvancedMDSettingsGUI, ilPropertyFormGUI, ilTaxMDGUI, ilObjTaxonomyGUI
Definition at line 29 of file class.ilObjectMetaDataGUI.php.
| ilObjectMetaDataGUI::__construct | ( | ilObject | $object = null, |
$sub_type = null, |
|||
| int | $sub_id = null, |
||
| bool | $in_repository = true |
||
| ) |
Definition at line 72 of file class.ilObjectMetaDataGUI.php.
References $DIC, $GLOBALS, $in_repository, $object, $sub_id, $sub_type, ILIAS\Repository\ctrl(), ilObject\getId(), getLOMType(), ilObject\getRefId(), ilObject\getType(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\tabs(), ilLogLevel\WARNING, and ilObject\withReferences().
Here is the call graph for this function:| ilObjectMetaDataGUI::addMDObserver | ( | object | $class, |
| string | $method, | ||
| string | $section | ||
| ) |
Definition at line 229 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 354 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 510 of file class.ilObjectMetaDataGUI.php.
Referenced by getBlockHTML().
Here is the caller graph for this function:
|
protected |
Definition at line 481 of file class.ilObjectMetaDataGUI.php.
References initEditForm().
Referenced by update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 601 of file class.ilObjectMetaDataGUI.php.
References initTaxonomySettingsForm(), and ILIAS\Repository\tabs().
Here is the call graph for this function:| ilObjectMetaDataGUI::enableTaxonomyDefinition | ( | bool | $enable | ) |
Enable taxonomy definition.
Definition at line 214 of file class.ilObjectMetaDataGUI.php.
References ILIAS\Repository\object().
Here is the call graph for this function:| ilObjectMetaDataGUI::executeCommand | ( | ) |
Definition at line 135 of file class.ilObjectMetaDataGUI.php.
References ilAdvancedMDSettingsGUI\CONTEXT_OBJECT, ILIAS\Repository\ctrl(), getLOMType(), initEditForm(), and setSubTabs().
Here is the call graph for this function:| ilObjectMetaDataGUI::getAdvMdRecordObject | ( | ) |
Get adv md record type.
Definition at line 260 of file class.ilObjectMetaDataGUI.php.
References $adv_id, $adv_subtype, $adv_type, $obj_id, $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 | $commands = null, |
| ?array | $callback = null |
||
| ) |
Takes as an optional second input an array consisting of the object that the method that should be called back to belongs to, and a string with the name of the method.
| array | null | $commands | |
| null|array{0 | ilObject, 1: string} $callback |
Definition at line 523 of file class.ilObjectMetaDataGUI.php.
References $adv_id, $adv_subtype, $adv_type, $url, ilAdvancedMDRecord\_getSelectedRecordsByObject(), checkFilter(), getAdvMdRecordObject(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjectMetaDataGUI::getKeyValueList | ( | ) |
Definition at line 556 of file class.ilObjectMetaDataGUI.php.
References $adv_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 238 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 | ( | string | $base_class = null | ) |
Get tab link if available.
Definition at line 371 of file class.ilObjectMetaDataGUI.php.
References $path, canEdit(), ILIAS\Repository\ctrl(), hasAdvancedMDSettings(), isAdvMDAvailable(), and isLOMAvailable().
Here is the call graph for this function:| ilObjectMetaDataGUI::getTaxonomyObjGUI | ( | ) |
Definition at line 224 of file class.ilObjectMetaDataGUI.php.
References $tax_obj_gui.
|
protected |
check if active records exist in current path anf for object type
Definition at line 342 of file class.ilObjectMetaDataGUI.php.
References $adv_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 327 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 454 of file class.ilObjectMetaDataGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilAdvancedMDRecordGUI\MODE_EDITOR.
Referenced by edit(), executeCommand(), and update().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 608 of file class.ilObjectMetaDataGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by editTaxonomySettings(), and saveTaxonomySettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 272 of file class.ilObjectMetaDataGUI.php.
References $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 289 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 |
Definition at line 620 of file class.ilObjectMetaDataGUI.php.
References ILIAS\Repository\ctrl(), initTaxonomySettingsForm(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilObjectMetaDataGUI::setAdvMdRecordObject | ( | int | $adv_id, |
| string | $adv_type, | ||
| string | $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)
Definition at line 250 of file class.ilObjectMetaDataGUI.php.
References $adv_id, $adv_subtype, and $adv_type.
| ilObjectMetaDataGUI::setRecordFilter | ( | ?array | $filter = null | ) |
Set advanced record filter.
| ?int[] | $filter |
Definition at line 206 of file class.ilObjectMetaDataGUI.php.
| ilObjectMetaDataGUI::setSubTabs | ( | string | $active | ) |
Definition at line 399 of file class.ilObjectMetaDataGUI.php.
References canEdit(), hasAdvancedMDSettings(), isAdvMDAvailable(), isLOMAvailable(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by executeCommand().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjectMetaDataGUI::setTaxonomySettings | ( | Closure | $form_manipulator, |
| Closure | $form_saver | ||
| ) |
Definition at line 196 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 490 of file class.ilObjectMetaDataGUI.php.
References ILIAS\Repository\ctrl(), edit(), initEditForm(), and ILIAS\Repository\lng().
Here is the call graph for this function:
|
protected |
Definition at line 62 of file class.ilObjectMetaDataGUI.php.
Referenced by getAdvMdRecordObject(), getBlockHTML(), getKeyValueList(), hasActiveRecords(), and setAdvMdRecordObject().
|
protected |
Definition at line 64 of file class.ilObjectMetaDataGUI.php.
Referenced by getAdvMdRecordObject(), getBlockHTML(), getKeyValueList(), hasActiveRecords(), isAdvMDAvailable(), and setAdvMdRecordObject().
|
protected |
Definition at line 63 of file class.ilObjectMetaDataGUI.php.
Referenced by getAdvMdRecordObject(), getBlockHTML(), getKeyValueList(), hasActiveRecords(), isAdvMDAvailable(), and setAdvMdRecordObject().
|
protected |
Definition at line 31 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 44 of file class.ilObjectMetaDataGUI.php.
Referenced by __construct().
|
protected |
Definition at line 37 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 33 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 35 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 49 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 46 of file class.ilObjectMetaDataGUI.php.
Referenced by getAdvMdRecordObject().
|
protected |
Definition at line 47 of file class.ilObjectMetaDataGUI.php.
Referenced by getAdvMdRecordObject(), and getLOMType().
|
protected |
Definition at line 45 of file class.ilObjectMetaDataGUI.php.
Referenced by __construct().
|
protected |
Definition at line 69 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 54 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 48 of file class.ilObjectMetaDataGUI.php.
Referenced by getAdvMdRecordObject().
|
private |
Definition at line 70 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 40 of file class.ilObjectMetaDataGUI.php.
Referenced by __construct().
|
protected |
Definition at line 39 of file class.ilObjectMetaDataGUI.php.
Referenced by __construct(), getAdvMdRecordObject(), and getLOMType().
|
protected |
Definition at line 32 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 50 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 51 of file class.ilObjectMetaDataGUI.php.
Referenced by getTaxonomyObjGUI().
|
protected |
Definition at line 52 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 53 of file class.ilObjectMetaDataGUI.php.
|
protected |
Definition at line 34 of file class.ilObjectMetaDataGUI.php.