ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
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.

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

41  {
42  $this->repo_service = $repo_service;
43  $this->data_service = $data_service;
44  $this->initDomainServices($DIC);
45  }
initDomainServices(\ILIAS\DI\Container $DIC)
global $DIC
Definition: feed.php:28
+ 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.

References ILIAS\Repository\user().

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  }
+ 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: