ILIAS  release_8 Revision v8.24
ILIAS\Glossary\InternalDomainService Class Reference
+ Collaboration diagram for ILIAS\Glossary\InternalDomainService:

Public Member Functions

 __construct (Container $DIC, InternalRepoService $repo_service, InternalDataService $data_service)
 
 term (\ilObjGlossary $glossary, int $user_id=0)
 

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 30 of file class.InternalDomainService.php.

Constructor & Destructor Documentation

◆ __construct()

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

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

41 {
42 $this->repo_service = $repo_service;
43 $this->data_service = $data_service;
44 $this->initDomainServices($DIC);
45 }
initDomainServices(\ILIAS\DI\Container $DIC)

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

+ Here is the call graph for this function:

Member Function Documentation

◆ term()

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

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

58 : TermManager
59 {
60 if ($user_id == 0) {
61 $user_id = $this->user()->getId();
62 }
63 return new TermManager(
64 $this,
65 $this->repo_service->termSession(),
66 $glossary,
67 $user_id
68 );
69 }

References ILIAS\Repository\user().

+ Here is the call 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: