ILIAS  trunk Revision v12.0_alpha-16-g3e876e53c80
ILIAS\Search\GUI\Service\Service Class Reference
+ Collaboration diagram for ILIAS\Search\GUI\Service\Service:

Public Member Functions

 __construct (protected Container $dic, protected PresentationService $presentation_service)
 
 actions ()
 
 luceneSearchStateHandler ()
 
 directSearchStateHandler ()
 
 luceneSearcher ()
 
 directSearcher ()
 

Protected Attributes

Actions $actions
 
SearchStateHandler $lucene_search_state_handler
 
SearchStateHandler $direct_search_state_handler
 
Searcher $lucene_searcher
 
Searcher $direct_searcher
 

Detailed Description

Definition at line 36 of file Service.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Search\GUI\Service\Service::__construct ( protected Container  $dic,
protected PresentationService  $presentation_service 
)

Definition at line 44 of file Service.php.

47 {
48 }

Member Function Documentation

◆ actions()

ILIAS\Search\GUI\Service\Service::actions ( )

Definition at line 50 of file Service.php.

50 : Actions
51 {
52 return $this->actions ??= new ActionsImpl(
53 $this->dic->ctrl(),
54 new DataFactory()
55 );
56 }

References ILIAS\Search\GUI\Service\Service\actions().

Referenced by ILIAS\Search\GUI\Service\Service\actions().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ directSearcher()

ILIAS\Search\GUI\Service\Service::directSearcher ( )

Definition at line 89 of file Service.php.

89 : Searcher
90 {
91 return $this->direct_searcher ??= new DirectSearcherImpl(
93 $this->dic->ui()->mainTemplate(),
94 $this->dic->ui()->renderer(),
95 $this->presentation_service->result(),
96 $this->dic->language()
97 );
98 }

References ilSearchSettings\getInstance().

+ Here is the call graph for this function:

◆ directSearchStateHandler()

ILIAS\Search\GUI\Service\Service::directSearchStateHandler ( )

Definition at line 68 of file Service.php.

68 : SearchStateHandler
69 {
70 return $this->direct_search_state_handler ??= new DirectSearchStateHandlerImpl(
72 $this->dic->learningObjectMetadata(),
73 $this->dic->http(),
74 $this->dic->refinery()
75 );
76 }

References ilSearchSettings\getInstance().

+ Here is the call graph for this function:

◆ luceneSearcher()

ILIAS\Search\GUI\Service\Service::luceneSearcher ( )

Definition at line 78 of file Service.php.

78 : Searcher
79 {
80 return $this->lucene_searcher ??= new LuceneSearcherImpl(
82 $this->dic->ui()->mainTemplate(),
83 $this->dic->ui()->renderer(),
84 $this->presentation_service->result(),
85 $this->dic->language()
86 );
87 }

References ilSearchSettings\getInstance().

+ Here is the call graph for this function:

◆ luceneSearchStateHandler()

ILIAS\Search\GUI\Service\Service::luceneSearchStateHandler ( )

Definition at line 58 of file Service.php.

58 : SearchStateHandler
59 {
60 return $this->lucene_search_state_handler ??= new LuceneSearchStateHandlerImpl(
62 $this->dic->learningObjectMetadata(),
63 $this->dic->http(),
64 $this->dic->refinery()
65 );
66 }

References ilSearchSettings\getInstance().

+ Here is the call graph for this function:

Field Documentation

◆ $actions

Actions ILIAS\Search\GUI\Service\Service::$actions
protected

Definition at line 38 of file Service.php.

◆ $direct_search_state_handler

SearchStateHandler ILIAS\Search\GUI\Service\Service::$direct_search_state_handler
protected

Definition at line 40 of file Service.php.

◆ $direct_searcher

Searcher ILIAS\Search\GUI\Service\Service::$direct_searcher
protected

Definition at line 42 of file Service.php.

◆ $lucene_search_state_handler

SearchStateHandler ILIAS\Search\GUI\Service\Service::$lucene_search_state_handler
protected

Definition at line 39 of file Service.php.

◆ $lucene_searcher

Searcher ILIAS\Search\GUI\Service\Service::$lucene_searcher
protected

Definition at line 41 of file Service.php.


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