ILIAS  trunk Revision v11.0_alpha-1838-g59fc79e306b
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\MetaData\Copyright\Services\Services Class Reference
+ Collaboration diagram for ILIAS\MetaData\Copyright\Services\Services:

Public Member Functions

 __construct (GlobalContainer $dic, SearchServices $repository_services, PathsServices $paths_services,)
 
 repository ()
 
 renderer ()
 
 identifiersHandler ()
 
 searcherFactory ()
 

Protected Attributes

RepositoryInterface $repository
 
RendererInterface $renderer
 
HandlerInterface $handler
 
FactoryInterface $searcher_factory
 
GlobalContainer $dic
 
SearchServices $search_services
 
PathsServices $paths_services
 

Detailed Description

Definition at line 36 of file Services.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\MetaData\Copyright\Services\Services::__construct ( GlobalContainer  $dic,
SearchServices  $repository_services,
PathsServices  $paths_services 
)

Definition at line 47 of file Services.php.

References ILIAS\MetaData\Copyright\Services\Services\$dic, and ILIAS\MetaData\Copyright\Services\Services\$paths_services.

51  {
52  $this->dic = $dic;
53  $this->search_services = $repository_services;
54  $this->paths_services = $paths_services;
55  }

Member Function Documentation

◆ identifiersHandler()

ILIAS\MetaData\Copyright\Services\Services::identifiersHandler ( )

Definition at line 78 of file Services.php.

References ILIAS\MetaData\Copyright\Services\Services\$handler.

Referenced by ILIAS\MetaData\Copyright\Services\Services\searcherFactory().

78  : HandlerInterface
79  {
80  if (isset($this->handler)) {
81  return $this->handler;
82  }
83  return $this->handler = new Handler();
84  }
+ Here is the caller graph for this function:

◆ renderer()

ILIAS\MetaData\Copyright\Services\Services::renderer ( )

Definition at line 67 of file Services.php.

References ILIAS\MetaData\Copyright\Services\Services\$renderer.

68  {
69  if (isset($this->renderer)) {
70  return $this->renderer;
71  }
72  return $this->renderer = new Renderer(
73  $this->dic->ui()->factory(),
74  $this->dic->resourceStorage()
75  );
76  }

◆ repository()

ILIAS\MetaData\Copyright\Services\Services::repository ( )

Definition at line 57 of file Services.php.

References ILIAS\MetaData\Copyright\Services\Services\$repository.

57  : RepositoryInterface
58  {
59  if (isset($this->repository)) {
60  return $this->repository;
61  }
62  return $this->repository = new DatabaseRepository(
63  new Wrapper($this->dic->database())
64  );
65  }

◆ searcherFactory()

ILIAS\MetaData\Copyright\Services\Services::searcherFactory ( )

Definition at line 86 of file Services.php.

References ILIAS\MetaData\Copyright\Services\Services\$searcher_factory, and ILIAS\MetaData\Copyright\Services\Services\identifiersHandler().

86  : FactoryInterface
87  {
88  if (isset($this->searcher_factory)) {
90  }
91  return $this->searcher_factory = new Factory(
92  $this->search_services->searchFilterFactory(),
93  $this->search_services->searchClauseFactory(),
94  $this->paths_services->pathFactory(),
95  $this->identifiersHandler()
96  );
97  }
+ Here is the call graph for this function:

Field Documentation

◆ $dic

GlobalContainer ILIAS\MetaData\Copyright\Services\Services::$dic
protected

Definition at line 43 of file Services.php.

Referenced by ILIAS\MetaData\Copyright\Services\Services\__construct().

◆ $handler

HandlerInterface ILIAS\MetaData\Copyright\Services\Services::$handler
protected

◆ $paths_services

PathsServices ILIAS\MetaData\Copyright\Services\Services::$paths_services
protected

Definition at line 45 of file Services.php.

Referenced by ILIAS\MetaData\Copyright\Services\Services\__construct().

◆ $renderer

RendererInterface ILIAS\MetaData\Copyright\Services\Services::$renderer
protected

Definition at line 39 of file Services.php.

Referenced by ILIAS\MetaData\Copyright\Services\Services\renderer().

◆ $repository

RepositoryInterface ILIAS\MetaData\Copyright\Services\Services::$repository
protected

Definition at line 38 of file Services.php.

Referenced by ILIAS\MetaData\Copyright\Services\Services\repository().

◆ $search_services

SearchServices ILIAS\MetaData\Copyright\Services\Services::$search_services
protected

Definition at line 44 of file Services.php.

◆ $searcher_factory

FactoryInterface ILIAS\MetaData\Copyright\Services\Services::$searcher_factory
protected

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