|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Inheritance diagram for ILIAS\MetaData\Services\Services:
Collaboration diagram for ILIAS\MetaData\Services\Services:Public Member Functions | |
| __construct (GlobalContainer $dic) | |
| 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. More... | |
| search () | |
| Get a searcher, in which you can assemble a search clause and filters, and use these to find objects whose LOM matches the search. More... | |
| manipulate (int $obj_id, int $sub_id, string $type) | |
| Get a manipulator, which can manipulate the LOM of an ILIAS object. More... | |
| derive () | |
| Derives LOM from a target, for a source. More... | |
| deleteAll (int $obj_id, int $sub_id, string $type) | |
| Delete all LOM of an ILIAS object. More... | |
| paths () | |
| Elements in LOM are identified by paths to them from the root. More... | |
| dataHelper () | |
| The data carried by many LOM elements is in LOM-specific formats. More... | |
| copyrightHelper () | |
| The LOM of an object also contains its copyright information, which might consist of a reference to a preset copyright. More... | |
Protected Member Functions | |
| readerFactory () | |
| manipulatorFactory () | |
| repository () | |
Protected Attributes | |
| InternalServices | $internal_services |
| ReaderFactoryInterface | $reader_factory |
| ManipulatorFactoryInterface | $manipulator_factory |
| PathsInterface | $paths |
| DataHelperInterface | $data_helper |
| SourceSelectorInterface | $derivation_source_selector |
| SearcherInterface | $searcher |
| CopyrightHelperInterface | $copyright_helper |
Definition at line 49 of file Services.php.
| ILIAS\MetaData\Services\Services::__construct | ( | GlobalContainer | $dic | ) |
Definition at line 61 of file Services.php.
| ILIAS\MetaData\Services\Services::copyrightHelper | ( | ) |
The LOM of an object also contains its copyright information, which might consist of a reference to a preset copyright.
This helper offers some infrastructure to parse and manipulate copyright information of objects, to access the copyright presets, and to search and filter objects by copyright.
Implements ILIAS\MetaData\Services\ServicesInterface.
Definition at line 154 of file Services.php.
References ILIAS\MetaData\Services\Services\$copyright_helper, and ilMDSettings\_getInstance().
Here is the call graph for this function:| ILIAS\MetaData\Services\Services::dataHelper | ( | ) |
The data carried by many LOM elements is in LOM-specific formats.
Get a collection of helpful translations from or to these formats.
Implements ILIAS\MetaData\Services\ServicesInterface.
Definition at line 143 of file Services.php.
References ILIAS\MetaData\Services\Services\$data_helper.
| ILIAS\MetaData\Services\Services::deleteAll | ( | int | $obj_id, |
| int | $sub_id, | ||
| string | $type | ||
| ) |
Delete all LOM of an ILIAS object.
See {
Implements ILIAS\MetaData\Services\ServicesInterface.
Definition at line 123 of file Services.php.
References ILIAS\MetaData\Services\Services\repository().
Here is the call graph for this function:| ILIAS\MetaData\Services\Services::derive | ( | ) |
Derives LOM from a target, for a source.
Encompasses both copying LOM between ILIAS objects and creating LOM for an object from some basic properties.
Implements ILIAS\MetaData\Services\ServicesInterface.
Definition at line 108 of file Services.php.
References ILIAS\MetaData\Services\Services\$derivation_source_selector.
| ILIAS\MetaData\Services\Services::manipulate | ( | int | $obj_id, |
| int | $sub_id, | ||
| string | $type | ||
| ) |
Get a manipulator, which can manipulate the LOM of an ILIAS object.
See {
Implements ILIAS\MetaData\Services\ServicesInterface.
Definition at line 97 of file Services.php.
References ILIAS\MetaData\Services\Services\manipulatorFactory(), and ILIAS\MetaData\Services\Services\repository().
Here is the call graph for this function:
|
protected |
Definition at line 179 of file Services.php.
References ILIAS\MetaData\Services\Services\$manipulator_factory.
Referenced by ILIAS\MetaData\Services\Services\manipulate().
Here is the caller graph for this function:| ILIAS\MetaData\Services\Services::paths | ( | ) |
Elements in LOM are identified by paths to them from the root.
Get a collection of frequently used paths, as well as a builder to construct custom ones.
Implements ILIAS\MetaData\Services\ServicesInterface.
Definition at line 133 of file Services.php.
References ILIAS\MetaData\Services\Services\$paths.
| ILIAS\MetaData\Services\Services::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.
The object is specified with three parameters:
obj_id of the object if it is a repository object, else the obj_id of its parent repository object. If the object does not have a fixed parent (e.g. MediaObject), then this parameter is 0.obj_id of the object. If the object is a repository object by itself and not a sub-object, then you can set this parameter to 0, but we recommend passing the obj_id again.'crs' or 'lm'.Optionally, a path can be specified to which the reading is restricted: the reader will then only have access to elements on the path, along with recursively all sub-elements of the last element of the path. Note that path filters are ignored, and if the path contains steps to super elements, it is only followed down to the first element that the path returns to.
Implements ILIAS\MetaData\Services\ServicesInterface.
Definition at line 66 of file Services.php.
References ILIAS\MetaData\Services\Services\readerFactory(), and ILIAS\MetaData\Services\Services\repository().
Here is the call graph for this function:
|
protected |
Definition at line 169 of file Services.php.
References ILIAS\MetaData\Services\Services\$reader_factory.
Referenced by ILIAS\MetaData\Services\Services\read().
Here is the caller graph for this function:
|
protected |
Definition at line 190 of file Services.php.
Referenced by ILIAS\MetaData\Services\Services\deleteAll(), ILIAS\MetaData\Services\Services\manipulate(), and ILIAS\MetaData\Services\Services\read().
Here is the caller graph for this function:| ILIAS\MetaData\Services\Services::search | ( | ) |
Get a searcher, in which you can assemble a search clause and filters, and use these to find objects whose LOM matches the search.
Implements ILIAS\MetaData\Services\ServicesInterface.
Definition at line 85 of file Services.php.
References ILIAS\MetaData\Services\Services\$searcher.
|
protected |
Definition at line 59 of file Services.php.
Referenced by ILIAS\MetaData\Services\Services\copyrightHelper().
|
protected |
Definition at line 56 of file Services.php.
Referenced by ILIAS\MetaData\Services\Services\dataHelper().
|
protected |
Definition at line 57 of file Services.php.
Referenced by ILIAS\MetaData\Services\Services\derive().
|
protected |
Definition at line 51 of file Services.php.
|
protected |
Definition at line 54 of file Services.php.
Referenced by ILIAS\MetaData\Services\Services\manipulatorFactory().
|
protected |
Definition at line 55 of file Services.php.
Referenced by ILIAS\MetaData\Services\Services\paths().
|
protected |
Definition at line 53 of file Services.php.
Referenced by ILIAS\MetaData\Services\Services\readerFactory().
|
protected |
Definition at line 58 of file Services.php.
Referenced by ILIAS\MetaData\Services\Services\search().