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

Public Member Functions

 __construct (CreationRepositoryInterface $creation_repo, ReaderInterface $reader, InfosInterface $infos, ActionsInterface $actions)
 
 getAllVocabularies ()
 
 getVocabulary (string $vocab_id)
 
 infos ()
 
 actions ()
 
 controlledVocabularyCreator ()
 

Protected Attributes

CreationRepositoryInterface $creation_repo
 
ReaderInterface $reader
 
InfosInterface $infos
 
ActionsInterface $actions
 

Detailed Description

Definition at line 30 of file Manager.php.

Constructor & Destructor Documentation

◆ __construct()

Member Function Documentation

◆ actions()

ILIAS\MetaData\Vocabularies\Manager\Manager::actions ( )

Implements ILIAS\MetaData\Vocabularies\Manager\ManagerInterface.

Definition at line 67 of file Manager.php.

References ILIAS\MetaData\Vocabularies\Manager\Manager\$actions.

Referenced by ILIAS\MetaData\Vocabularies\Manager\Manager\__construct().

67  : ActionsInterface
68  {
69  return $this->actions;
70  }
+ Here is the caller graph for this function:

◆ controlledVocabularyCreator()

ILIAS\MetaData\Vocabularies\Manager\Manager::controlledVocabularyCreator ( )

Implements ILIAS\MetaData\Vocabularies\Manager\ManagerInterface.

Definition at line 72 of file Manager.php.

References ILIAS\MetaData\Vocabularies\Manager\Manager\$creation_repo.

72  : CreationRepositoryInterface
73  {
74  return $this->creation_repo;
75  }
CreationRepositoryInterface $creation_repo
Definition: Manager.php:32

◆ getAllVocabularies()

ILIAS\MetaData\Vocabularies\Manager\Manager::getAllVocabularies ( )
Returns
VocabularyInterface[]

Implements ILIAS\MetaData\Vocabularies\Manager\ManagerInterface.

Definition at line 52 of file Manager.php.

References ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from().

52  : \Generator
53  {
54  yield from $this->reader->vocabulariesForSlots(...SlotIdentifier::cases());
55  }
+ Here is the call graph for this function:

◆ getVocabulary()

ILIAS\MetaData\Vocabularies\Manager\Manager::getVocabulary ( string  $vocab_id)

Implements ILIAS\MetaData\Vocabularies\Manager\ManagerInterface.

Definition at line 57 of file Manager.php.

57  : VocabularyInterface
58  {
59  return $this->reader->vocabulary($vocab_id);
60  }

◆ infos()

ILIAS\MetaData\Vocabularies\Manager\Manager::infos ( )

Implements ILIAS\MetaData\Vocabularies\Manager\ManagerInterface.

Definition at line 62 of file Manager.php.

References ILIAS\MetaData\Vocabularies\Manager\Manager\$infos.

Referenced by ILIAS\MetaData\Vocabularies\Manager\Manager\__construct().

62  : InfosInterface
63  {
64  return $this->infos;
65  }
+ Here is the caller graph for this function:

Field Documentation

◆ $actions

ActionsInterface ILIAS\MetaData\Vocabularies\Manager\Manager::$actions
protected

◆ $creation_repo

CreationRepositoryInterface ILIAS\MetaData\Vocabularies\Manager\Manager::$creation_repo
protected

◆ $infos

InfosInterface ILIAS\MetaData\Vocabularies\Manager\Manager::$infos
protected

◆ $reader

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

Definition at line 33 of file Manager.php.

Referenced by ILIAS\MetaData\Vocabularies\Manager\Manager\__construct().


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