ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
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 37 of file Service.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 41 of file Service.php.

43 {
44 }

Member Function Documentation

◆ result()

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

Definition at line 46 of file Service.php.

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

References $lng.

Field Documentation

◆ $result_presenter

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

Definition at line 39 of file Service.php.


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