ILIAS  trunk Revision v11.0_alpha-1769-g99a433fe2dc
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\FileUpload\DTO\Metadata\MetadataManager Class Reference
+ Collaboration diagram for ILIAS\FileUpload\DTO\Metadata\MetadataManager:

Public Member Functions

 __construct (LOMServices $lom_services)
 
 cloneLOM (int $source_obj_id, int $source_sub_id, string $source_type, int $target_obj_id, int $target_sub_id, string $target_type)
 

Protected Attributes

LOMServices $lom_services
 

Detailed Description

Definition at line 25 of file class.MetadataManager.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\FileUpload\DTO\Metadata\MetadataManager::__construct ( LOMServices  $lom_services)

Definition at line 29 of file class.MetadataManager.php.

References ILIAS\FileUpload\DTO\Metadata\MetadataManager\$lom_services.

30  {
31  $this->lom_services = $lom_services;
32  }

Member Function Documentation

◆ cloneLOM()

ILIAS\FileUpload\DTO\Metadata\MetadataManager::cloneLOM ( int  $source_obj_id,
int  $source_sub_id,
string  $source_type,
int  $target_obj_id,
int  $target_sub_id,
string  $target_type 
)

Definition at line 34 of file class.MetadataManager.php.

41  : void {
42  $this->lom_services->derive()
43  ->fromObject($source_obj_id, $source_sub_id, $source_type)
44  ->forObject($source_obj_id, $source_sub_id, $source_type);
45  }

Field Documentation

◆ $lom_services

LOMServices ILIAS\FileUpload\DTO\Metadata\MetadataManager::$lom_services
protected

The documentation for this class was generated from the following file: