ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\MetaData\Services\Paths\Paths Class Reference
+ Inheritance diagram for ILIAS\MetaData\Services\Paths\Paths:
+ Collaboration diagram for ILIAS\MetaData\Services\Paths\Paths:

Public Member Functions

 __construct (PathFactory $path_factory)
 
 title ()
 Path to general > title > string. More...
 
 descriptions ()
 Path to general > description > string. More...
 
 firstDescription ()
 Path to general > description > string, restricted to the first description. More...
 
 keywords ()
 Path to general > keyword > string. More...
 
 languages ()
 Path to general > language. More...
 
 authors ()
 Path to lifeCycle > contribute > entity, where the contribute has a role > value with value 'author'. More...
 
 firstTypicalLearningTime ()
 Path to educational > typicalLearningTime > duration, restricted to the first instance of educational. More...
 
 copyright ()
 Path to rights > description > string. More...
 
 custom ()
 Get a builder to construct custom paths. More...
 
 title ()
 Path to general > title > string. More...
 
 descriptions ()
 Path to general > description > string. More...
 
 firstDescription ()
 Path to general > description > string, restricted to the first description. More...
 
 keywords ()
 Path to general > keyword > string. More...
 
 languages ()
 Path to general > language. More...
 
 authors ()
 Path to lifeCycle > contribute > entity, where the contribute has a role > value with value 'author'. More...
 
 firstTypicalLearningTime ()
 Path to educational > typicalLearningTime > duration, restricted to the first instance of educational. More...
 
 copyright ()
 Path to rights > description > string. More...
 
 custom ()
 Get a builder to construct custom paths. More...
 

Protected Attributes

PathFactory $path_factory
 

Detailed Description

Definition at line 27 of file Paths.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\MetaData\Services\Paths\Paths::__construct ( PathFactory  $path_factory)

Definition at line 31 of file Paths.php.

32 {
33 $this->path_factory = $path_factory;
34 }

References ILIAS\MetaData\Services\Paths\Paths\$path_factory.

Referenced by ILIAS\MetaData\Services\Paths\BuilderTest\getBuilder().

+ Here is the caller graph for this function:

Member Function Documentation

◆ authors()

ILIAS\MetaData\Services\Paths\Paths::authors ( )

Path to lifeCycle > contribute > entity, where the contribute has a role > value with value 'author'.

Implements ILIAS\MetaData\Services\Paths\PathsInterface.

Definition at line 81 of file Paths.php.

81 : PathInterface
82 {
83 return $this->custom()
84 ->withNextStep('lifeCycle')
85 ->withNextStep('contribute')
86 ->withNextStep('role')
87 ->withNextStep('value')
88 ->withAdditionalFilterAtCurrentStep(FilterType::DATA, 'author')
89 ->withNextStepToSuperElement()
90 ->withNextStep('source')
91 ->withAdditionalFilterAtCurrentStep(FilterType::DATA, 'LOMv1.0')
92 ->withNextStepToSuperElement()
93 ->withNextStepToSuperElement()
94 ->withNextStep('entity')
95 ->get();
96 }
custom()
Get a builder to construct custom paths.
Definition: Paths.php:117

References ILIAS\MetaData\Services\Paths\Paths\custom(), and ILIAS\MetaData\Paths\Filters\DATA.

+ Here is the call graph for this function:

◆ copyright()

ILIAS\MetaData\Services\Paths\Paths::copyright ( )

Path to rights > description > string.

Implements ILIAS\MetaData\Services\Paths\PathsInterface.

Definition at line 108 of file Paths.php.

108 : PathInterface
109 {
110 return $this->custom()
111 ->withNextStep('rights')
112 ->withNextStep('description')
113 ->withNextStep('string')
114 ->get();
115 }

References ILIAS\MetaData\Services\Paths\Paths\custom().

+ Here is the call graph for this function:

◆ custom()

ILIAS\MetaData\Services\Paths\Paths::custom ( )

◆ descriptions()

ILIAS\MetaData\Services\Paths\Paths::descriptions ( )

Path to general > description > string.

Implements ILIAS\MetaData\Services\Paths\PathsInterface.

Definition at line 45 of file Paths.php.

45 : PathInterface
46 {
47 return $this->custom()
48 ->withNextStep('general')
49 ->withNextStep('description')
50 ->withNextStep('string')
51 ->get();
52 }

References ILIAS\MetaData\Services\Paths\Paths\custom().

+ Here is the call graph for this function:

◆ firstDescription()

ILIAS\MetaData\Services\Paths\Paths::firstDescription ( )

Path to general > description > string, restricted to the first description.

Implements ILIAS\MetaData\Services\Paths\PathsInterface.

Definition at line 54 of file Paths.php.

54 : PathInterface
55 {
56 return $this->custom()
57 ->withNextStep('general')
58 ->withNextStep('description')
59 ->withAdditionalFilterAtCurrentStep(FilterType::INDEX, '0')
60 ->withNextStep('string')
61 ->get();
62 }

References ILIAS\MetaData\Services\Paths\Paths\custom().

+ Here is the call graph for this function:

◆ firstTypicalLearningTime()

ILIAS\MetaData\Services\Paths\Paths::firstTypicalLearningTime ( )

Path to educational > typicalLearningTime > duration, restricted to the first instance of educational.

Implements ILIAS\MetaData\Services\Paths\PathsInterface.

Definition at line 98 of file Paths.php.

98 : PathInterface
99 {
100 return $this->custom()
101 ->withNextStep('educational')
102 ->withAdditionalFilterAtCurrentStep(FilterType::INDEX, '0')
103 ->withNextStep('typicalLearningTime')
104 ->withNextStep('duration')
105 ->get();
106 }

References ILIAS\MetaData\Services\Paths\Paths\custom().

+ Here is the call graph for this function:

◆ keywords()

ILIAS\MetaData\Services\Paths\Paths::keywords ( )

Path to general > keyword > string.

Implements ILIAS\MetaData\Services\Paths\PathsInterface.

Definition at line 64 of file Paths.php.

64 : PathInterface
65 {
66 return $this->custom()
67 ->withNextStep('general')
68 ->withNextStep('keyword')
69 ->withNextStep('string')
70 ->get();
71 }

References ILIAS\MetaData\Services\Paths\Paths\custom().

+ Here is the call graph for this function:

◆ languages()

ILIAS\MetaData\Services\Paths\Paths::languages ( )

Path to general > language.

Implements ILIAS\MetaData\Services\Paths\PathsInterface.

Definition at line 73 of file Paths.php.

73 : PathInterface
74 {
75 return $this->custom()
76 ->withNextStep('general')
77 ->withNextStep('language')
78 ->get();
79 }

References ILIAS\MetaData\Services\Paths\Paths\custom().

+ Here is the call graph for this function:

◆ title()

ILIAS\MetaData\Services\Paths\Paths::title ( )

Path to general > title > string.

Implements ILIAS\MetaData\Services\Paths\PathsInterface.

Definition at line 36 of file Paths.php.

36 : PathInterface
37 {
38 return $this->custom()
39 ->withNextStep('general')
40 ->withNextStep('title')
41 ->withNextStep('string')
42 ->get();
43 }

References ILIAS\MetaData\Services\Paths\Paths\custom().

+ Here is the call graph for this function:

Field Documentation

◆ $path_factory

PathFactory ILIAS\MetaData\Services\Paths\Paths::$path_factory
protected

Definition at line 29 of file Paths.php.

Referenced by ILIAS\MetaData\Services\Paths\Paths\__construct().


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