ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ServicesInterface.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\MetaData\Services;
22 
31 
33 {
51  public function read(
52  int $obj_id,
53  int $sub_id,
54  string $type,
55  ?PathInterface $limited_to = null
56  ): ReaderInterface;
57 
62  public function search(): SearcherInterface;
63 
68  public function manipulate(int $obj_id, int $sub_id, string $type): ManipulatorInterface;
69 
74  public function derive(): SourceSelectorInterface;
75 
80  public function deleteAll(int $obj_id, int $sub_id, string $type): void;
81 
86  public function paths(): PathsInterface;
87 
92  public function dataHelper(): DataHelperInterface;
93 
100  public function copyrightHelper(): CopyrightHelperInterface;
101 }
read(int $obj_id, int $sub_id, string $type, ?PathInterface $limited_to=null)
Get a reader, which can read out LOM of an ILIAS object.
copyrightHelper()
The LOM of an object also contains its copyright information, which might consist of a reference to a...
dataHelper()
The data carried by many LOM elements is in LOM-specific formats.
search()
Get a searcher, in which you can assemble a search clause and filters, and use these to find objects ...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
derive()
Derives LOM from a target, for a source.
paths()
Elements in LOM are identified by paths to them from the root.
deleteAll(int $obj_id, int $sub_id, string $type)
Delete all LOM of an ILIAS object.
manipulate(int $obj_id, int $sub_id, string $type)
Get a manipulator, which can manipulate the LOM of an ILIAS object.