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

Public Member Functions

 __construct (protected Container $dic)
 
 result ()
 

Protected Attributes

ResultPresenter $result_presenter
 

Detailed Description

Definition at line 35 of file Service.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Search\Presentation\Service\Service::__construct ( protected Container  $dic)

Definition at line 39 of file Service.php.

41 {
42 }

Member Function Documentation

◆ result()

ILIAS\Search\Presentation\Service\Service::result ( )

Definition at line 44 of file Service.php.

44 : ResultPresenter
45 {
46 $lng = $this->dic->language();
47 $lng->loadLanguageModule('search');
48 $sanitizer = new SanitizerImpl($this->dic->refinery());
49 $access_checker = new AccessCheckerImpl($this->dic->access());
50 $subitem_properties_factory = new SubitemPropertiesFactoryImpl();
51 return $this->result_presenter ??= new ResultPresenterImpl(
52 new ComponentFactoryImpl(
53 $this->dic->ui()->factory(),
54 $lng,
55 $sanitizer
56 ),
57 new ObjectPropertiesAggregatorImpl(
58 $access_checker,
59 $this->dic['objDefinition'],
60 $lng,
61 $this->dic['static_url'],
62 new DataFactory()
63 ),
64 new SubitemPropertiesAggregatorImpl(
65 $this->dic,
66 $subitem_properties_factory
67 ),
68 $subitem_properties_factory,
69 new CopyrightHelperImpl($this->dic->learningObjectMetadata()),
70 $access_checker,
71 $sanitizer
72 );
73 }
global $lng
Definition: privfeed.php:31

References $lng.

Field Documentation

◆ $result_presenter

ResultPresenter ILIAS\Search\Presentation\Service\Service::$result_presenter
protected

Definition at line 37 of file Service.php.


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