ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
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 ()
 
 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 ( )

◆ controlledVocabularyCreator()

◆ getAllVocabularies()

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

Implements ILIAS\MetaData\Vocabularies\Manager\ManagerInterface.

Definition at line 52 of file Manager.php.

52 : \Generator
53 {
54 yield from $this->reader->vocabulariesForSlots(...SlotIdentifier::cases());
55 }

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

+ 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 ( )

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: