ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ILIAS\Glossary\InternalDomainService Class Reference
+ Collaboration diagram for ILIAS\Glossary\InternalDomainService:

Public Member Functions

 __construct (Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
 
 log ()
 
 term (\ilObjGlossary $glossary, int $user_id=0)
 
 flashcard (int $glo_ref_id=0, int $user_id=0)
 
 flashcardShuffle ()
 
 metadata ()
 
 presentation (\ilObjGlossary $glossary, int $user_id=0)
 
 taxonomy (\ilObjGlossary $glossary)
 

Protected Attributes

InternalRepoService $repo_service
 
InternalDataService $data_service
 

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 35 of file class.InternalDomainService.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Glossary\InternalDomainService::__construct ( Container  $DIC,
InternalRepoService  $repo_service,
InternalDataService  $data_service 
)

Definition at line 42 of file class.InternalDomainService.php.

References ILIAS\Glossary\InternalDomainService\$data_service, ILIAS\Glossary\InternalDomainService\$repo_service, and ILIAS\Repository\initDomainServices().

46  {
47  $this->repo_service = $repo_service;
48  $this->data_service = $data_service;
49  $this->initDomainServices($DIC);
50  }
initDomainServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: feed.php:28
+ Here is the call graph for this function:

Member Function Documentation

◆ flashcard()

ILIAS\Glossary\InternalDomainService::flashcard ( int  $glo_ref_id = 0,
int  $user_id = 0 
)

Definition at line 70 of file class.InternalDomainService.php.

References ILIAS\Repository\user().

70  : FlashcardManager
71  {
72  if ($user_id == 0) {
73  $user_id = $this->user()->getId();
74  }
75  return new FlashcardManager(
76  $this,
77  $this->repo_service,
78  $glo_ref_id,
79  $user_id
80  );
81  }
+ Here is the call graph for this function:

◆ flashcardShuffle()

ILIAS\Glossary\InternalDomainService::flashcardShuffle ( )

Definition at line 83 of file class.InternalDomainService.php.

Referenced by ILIAS\Glossary\Flashcard\FlashcardManager\__construct().

83  : FlashcardShuffleManager
84  {
85  return new FlashcardShuffleManager();
86  }
+ Here is the caller graph for this function:

◆ log()

ILIAS\Glossary\InternalDomainService::log ( )

Definition at line 52 of file class.InternalDomainService.php.

References ILIAS\Repository\logger().

52  : \ilLogger
53  {
54  return $this->logger()->glo();
55  }
Component logger with individual log levels by component id.
+ Here is the call graph for this function:

◆ metadata()

ILIAS\Glossary\InternalDomainService::metadata ( )

Definition at line 88 of file class.InternalDomainService.php.

88  : MetadataManager
89  {
90  return new MetadataManager();
91  }

◆ presentation()

ILIAS\Glossary\InternalDomainService::presentation ( \ilObjGlossary  $glossary,
int  $user_id = 0 
)

Definition at line 93 of file class.InternalDomainService.php.

References ILIAS\Repository\user().

93  : PresentationManager
94  {
95  if ($user_id == 0) {
96  $user_id = $this->user()->getId();
97  }
98  return new PresentationManager(
99  $this,
100  $this->repo_service->presentationSession(),
101  $glossary,
102  $user_id
103  );
104  }
+ Here is the call graph for this function:

◆ taxonomy()

ILIAS\Glossary\InternalDomainService::taxonomy ( \ilObjGlossary  $glossary)

Definition at line 106 of file class.InternalDomainService.php.

106  : TaxonomyManager
107  {
108  return new TaxonomyManager(
109  $this->DIC->taxonomy()->domain(),
110  $glossary
111  );
112  }

◆ term()

ILIAS\Glossary\InternalDomainService::term ( \ilObjGlossary  $glossary,
int  $user_id = 0 
)

Definition at line 57 of file class.InternalDomainService.php.

References ILIAS\Repository\user().

Referenced by ilTermDefinitionBulkCreationGUI\__construct().

57  : TermManager
58  {
59  if ($user_id == 0) {
60  $user_id = $this->user()->getId();
61  }
62  return new TermManager(
63  $this,
64  $this->repo_service->termSession(),
65  $glossary,
66  $user_id
67  );
68  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $data_service

InternalDataService ILIAS\Glossary\InternalDomainService::$data_service
protected

◆ $repo_service

InternalRepoService ILIAS\Glossary\InternalDomainService::$repo_service
protected

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