ILIAS  trunk Revision v11.0_alpha-2658-ge2404539063
ILIAS\MetaData\Vocabularies\Services\Services Class Reference
+ Collaboration diagram for ILIAS\MetaData\Vocabularies\Services\Services:

Public Member Functions

 __construct (GlobalContainer $dic, PathServices $path_services, StructureServices $structure_services, CopyrightServices $copyright_services)
 
 presentation ()
 
 slotElementHelper ()
 
 manager ()
 
 slotHandler ()
 
 reader ()
 

Protected Member Functions

 copyrightBridge ()
 
 controlledRepository ()
 
 standardRepository ()
 
 factory ()
 

Protected Attributes

PresentationInterface $presentation
 
ManagerInterface $manager
 
SlotElementHelperInterface $slot_element_helper
 
SlotHandler $slot_handler
 
ReaderInterface $reader
 
CopyrightBridge $copyright_bridge
 
FactoryInterface $factory
 
ControlledRepositoryInterface $controlled_repository
 
StandardRepositoryInterface $standard_repository
 
GlobalContainer $dic
 
PathServices $path_services
 
StructureServices $structure_services
 
CopyrightServices $copyright_services
 

Detailed Description

Definition at line 51 of file Services.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\MetaData\Vocabularies\Services\Services::__construct ( GlobalContainer  $dic,
PathServices  $path_services,
StructureServices  $structure_services,
CopyrightServices  $copyright_services 
)

Member Function Documentation

◆ controlledRepository()

ILIAS\MetaData\Vocabularies\Services\Services::controlledRepository ( )
protected

Definition at line 167 of file Services.php.

References ILIAS\MetaData\Vocabularies\Services\Services\$controlled_repository, ILIAS\MetaData\Vocabularies\Services\Services\factory(), and ILIAS\MetaData\Vocabularies\Services\Services\slotHandler().

Referenced by ILIAS\MetaData\Vocabularies\Services\Services\manager(), ILIAS\MetaData\Vocabularies\Services\Services\presentation(), and ILIAS\MetaData\Vocabularies\Services\Services\reader().

167  : ControlledRepositoryInterface
168  {
169  if (isset($this->controlled_repository)) {
171  }
172  return $this->controlled_repository = new ControlledRepository(
173  new Wrapper($this->dic->database()),
174  $this->factory(),
175  $this->slotHandler()
176  );
177  }
ControlledRepositoryInterface $controlled_repository
Definition: Services.php:61
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ copyrightBridge()

ILIAS\MetaData\Vocabularies\Services\Services::copyrightBridge ( )
protected

Definition at line 154 of file Services.php.

References ILIAS\MetaData\Vocabularies\Services\Services\$copyright_bridge, ilMDSettings\_getInstance(), and ILIAS\MetaData\Vocabularies\Services\Services\factory().

Referenced by ILIAS\MetaData\Vocabularies\Services\Services\presentation(), and ILIAS\MetaData\Vocabularies\Services\Services\reader().

154  : CopyrightBridge
155  {
156  if (isset($this->copyright_bridge)) {
158  }
159  return $this->copyright_bridge = new Bridge(
160  $this->factory(),
162  $this->copyright_services->repository(),
163  $this->copyright_services->identifiersHandler()
164  );
165  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ factory()

ILIAS\MetaData\Vocabularies\Services\Services::factory ( )
protected

Definition at line 191 of file Services.php.

References ILIAS\MetaData\Vocabularies\Services\Services\$factory.

Referenced by ILIAS\MetaData\Vocabularies\Services\Services\controlledRepository(), ILIAS\MetaData\Vocabularies\Services\Services\copyrightBridge(), and ILIAS\MetaData\Vocabularies\Services\Services\standardRepository().

191  : FactoryInterface
192  {
193  if (isset($this->factory)) {
194  return $this->factory;
195  }
196  return $this->factory = new Factory();
197  }
+ Here is the caller graph for this function:

◆ manager()

ILIAS\MetaData\Vocabularies\Services\Services::manager ( )

Definition at line 110 of file Services.php.

References ILIAS\MetaData\Vocabularies\Services\Services\$manager, ILIAS\MetaData\Vocabularies\Services\Services\controlledRepository(), ILIAS\MetaData\Vocabularies\Services\Services\reader(), and ILIAS\MetaData\Vocabularies\Services\Services\standardRepository().

110  : ManagerInterface
111  {
112  if (isset($this->manager)) {
113  return $this->manager;
114  }
115  return $this->manager = new Manager(
116  $this->controlledRepository(),
117  $this->reader(),
118  $infos = new Infos(
119  $this->controlledRepository(),
120  $this->standardRepository()
121  ),
122  new Actions(
123  $infos,
124  $this->controlledRepository(),
125  $this->standardRepository()
126  )
127  );
128  }
+ Here is the call graph for this function:

◆ presentation()

ILIAS\MetaData\Vocabularies\Services\Services::presentation ( )

◆ reader()

ILIAS\MetaData\Vocabularies\Services\Services::reader ( )

◆ slotElementHelper()

ILIAS\MetaData\Vocabularies\Services\Services::slotElementHelper ( )

Definition at line 93 of file Services.php.

References ILIAS\MetaData\Vocabularies\Services\Services\$slot_element_helper, and ILIAS\MetaData\Vocabularies\Services\Services\slotHandler().

94  {
95  if (isset($this->slot_element_helper)) {
97  }
98  return $this->slot_element_helper = new SlotElementHelper(
99  $this->slotHandler(),
100  $this->path_services->pathFactory(),
101  $this->path_services->navigatorFactory(),
102  new Checker(
103  $this->slotHandler(),
104  $this->path_services->pathFactory(),
105  $this->path_services->navigatorFactory()
106  )
107  );
108  }
SlotElementHelperInterface $slot_element_helper
Definition: Services.php:55
+ Here is the call graph for this function:

◆ slotHandler()

ILIAS\MetaData\Vocabularies\Services\Services::slotHandler ( )

Definition at line 130 of file Services.php.

References ILIAS\MetaData\Vocabularies\Services\Services\$slot_handler.

Referenced by ILIAS\MetaData\Vocabularies\Services\Services\controlledRepository(), and ILIAS\MetaData\Vocabularies\Services\Services\slotElementHelper().

130  : SlotHandler
131  {
132  if (isset($this->slot_handler)) {
133  return $this->slot_handler;
134  }
135  return $this->slot_handler = new SlotHandler(
136  $this->path_services->pathFactory(),
137  $this->path_services->navigatorFactory(),
138  $this->structure_services->structure(),
139  );
140  }
+ Here is the caller graph for this function:

◆ standardRepository()

ILIAS\MetaData\Vocabularies\Services\Services::standardRepository ( )
protected

Definition at line 179 of file Services.php.

References ILIAS\MetaData\Vocabularies\Services\Services\$standard_repository, and ILIAS\MetaData\Vocabularies\Services\Services\factory().

Referenced by ILIAS\MetaData\Vocabularies\Services\Services\manager(), ILIAS\MetaData\Vocabularies\Services\Services\presentation(), and ILIAS\MetaData\Vocabularies\Services\Services\reader().

179  : StandardRepositoryInterface
180  {
181  if (isset($this->standard_repository)) {
183  }
184  return $this->standard_repository = new StandardRepository(
185  new DatabaseGateway($this->dic->database()),
186  $this->factory(),
187  new Assignments()
188  );
189  }
StandardRepositoryInterface $standard_repository
Definition: Services.php:62
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $controlled_repository

ControlledRepositoryInterface ILIAS\MetaData\Vocabularies\Services\Services::$controlled_repository
protected

◆ $copyright_bridge

CopyrightBridge ILIAS\MetaData\Vocabularies\Services\Services::$copyright_bridge
protected

◆ $copyright_services

CopyrightServices ILIAS\MetaData\Vocabularies\Services\Services::$copyright_services
protected

◆ $dic

GlobalContainer ILIAS\MetaData\Vocabularies\Services\Services::$dic
protected

◆ $factory

FactoryInterface ILIAS\MetaData\Vocabularies\Services\Services::$factory
protected

Definition at line 60 of file Services.php.

Referenced by ILIAS\MetaData\Vocabularies\Services\Services\factory().

◆ $manager

ManagerInterface ILIAS\MetaData\Vocabularies\Services\Services::$manager
protected

Definition at line 54 of file Services.php.

Referenced by ILIAS\MetaData\Vocabularies\Services\Services\manager().

◆ $path_services

PathServices ILIAS\MetaData\Vocabularies\Services\Services::$path_services
protected

◆ $presentation

PresentationInterface ILIAS\MetaData\Vocabularies\Services\Services::$presentation
protected

◆ $reader

ReaderInterface ILIAS\MetaData\Vocabularies\Services\Services::$reader
protected

Definition at line 58 of file Services.php.

Referenced by ILIAS\MetaData\Vocabularies\Services\Services\reader().

◆ $slot_element_helper

SlotElementHelperInterface ILIAS\MetaData\Vocabularies\Services\Services::$slot_element_helper
protected

◆ $slot_handler

SlotHandler ILIAS\MetaData\Vocabularies\Services\Services::$slot_handler
protected

◆ $standard_repository

StandardRepositoryInterface ILIAS\MetaData\Vocabularies\Services\Services::$standard_repository
protected

◆ $structure_services

StructureServices ILIAS\MetaData\Vocabularies\Services\Services::$structure_services
protected

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