| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
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
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, $ref_id, $sub_id, $sub_type, ILIAS\Repository\ctrl(), ilObject\getId(), getLOMType(), ilObject\getRefId(), ilTaxMDGUI\getSelectableTaxonomies(), 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.
Referenced by ilStructureObjectGUI\executeCommand(), and ilObjMediaObjectGUI\returnToContextObject().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 353 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 509 of file class.ilObjectMetaDataGUI.php.
Referenced by getBlockHTML().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 480 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 600 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 522 of file class.ilObjectMetaDataGUI.php.
References $obj_id, $sub_type, $url, ilAdvancedMDRecord\_getSelectedRecordsByObject(), checkFilter(), getAdvMdRecordObject(), ILIAS\Repository\int(), and ILIAS\Repository\lng().
 Here is the call graph for this function:| ilObjectMetaDataGUI::getKeyValueList | ( | ) | 
Definition at line 555 of file class.ilObjectMetaDataGUI.php.
References $obj_id, $sub_type, ilAdvancedMDRecord\_getSelectedRecordsByObject(), getAdvMdRecordObject(), ilADTFactory\getInstance(), ILIAS\Repository\int(), 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 370 of file class.ilObjectMetaDataGUI.php.
References $path, canEdit(), ILIAS\Repository\ctrl(), hasAdvancedMDSettings(), isAdvMDAvailable(), and isLOMAvailable().
Referenced by ilGlossaryTermGUI\getTabs(), ilObjMediaObjectGUI\getTabs(), and ilStructureObjectGUI\setTabs().
 Here is the call graph for this function:
 Here is the caller 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 341 of file class.ilObjectMetaDataGUI.php.
References 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 453 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 607 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 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 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 619 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 398 of file class.ilObjectMetaDataGUI.php.
References canEdit(), ILIAS\Repository\ctrl(), 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 489 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(), and setAdvMdRecordObject().
      
  | 
  protected | 
Definition at line 64 of file class.ilObjectMetaDataGUI.php.
Referenced by getAdvMdRecordObject(), and setAdvMdRecordObject().
      
  | 
  protected | 
Definition at line 63 of file class.ilObjectMetaDataGUI.php.
Referenced by getAdvMdRecordObject(), 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(), getBlockHTML(), and getKeyValueList().
      
  | 
  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 __construct(), and 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(), getBlockHTML(), getKeyValueList(), 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.