|
ILIAS
trunk Revision v12.0_alpha-16-g3e876e53c80
|
Inheritance diagram for ILIAS\Search\Presentation\Result\ResultPresenterImpl:
Collaboration diagram for ILIAS\Search\Presentation\Result\ResultPresenterImpl:Public Member Functions | |
| __construct (protected ComponentFactory $component_factory, protected ObjectPropertiesAggregator $obj_properties, protected SubitemPropertiesAggregator $subitem_properties, protected SubitemPropertiesFactory $subitem_properties_factory, protected CopyrightHelper $copyright_helper, protected AccessChecker $access, protected Sanitizer $sanitizer) | |
| getDirectSearchResultAsPanel (ilSearchResult $result, ViewControlInfos $view_control_infos) | |
| getLuceneSearchResultAsPanel (ilLuceneSearchResultFilter $result, ilLuceneHighlighterResultParser $highlighter, ViewControlInfos $view_control_infos) | |
| getViewControlInfos (Sortation $sortation, int $current_page, int $max_pages, int $page_size, URI $pagination_action, Param $page_param_name, URI $sortation_action, Param $sortation_param_name) | |
| replacePlaceholders (string $html) | |
| getDirectSearchResultAsPanel (ilSearchResult $result, ViewControlInfos $view_control_infos) | |
| getLuceneSearchResultAsPanel (ilLuceneSearchResultFilter $result, ilLuceneHighlighterResultParser $highlighter, ViewControlInfos $view_control_infos) | |
| getViewControlInfos (Sortation $sortation, int $current_page, int $max_pages, int $page_size, URI $pagination_action, Param $page_param_name, URI $sortation_action, Param $sortation_param_name) | |
| replacePlaceholders (string $html) | |
Protected Member Functions | |
| getItemsForSubitemsFromDirectSearch (int $ref_id, int $obj_id, string $type, array ... $raw_sub_ids) | |
| getItemsForSubitemsFromLuceneSearch (ilLuceneHighlighterResultParser $highlighter, int $obj_id, int $ref_id, string $type, array ... $raw_sub_ids) | |
| sortObjectItems (Sortation $sortation, array ... $items_with_sort_data) | |
Protected Attributes | |
| const int | MAX_SUBITEMS = 49 |
| const int | MAX_SUBITEMS_PER_PAGE = 5 |
Definition at line 41 of file ResultPresenterImpl.php.
| ILIAS\Search\Presentation\Result\ResultPresenterImpl::__construct | ( | protected ComponentFactory | $component_factory, |
| protected ObjectPropertiesAggregator | $obj_properties, | ||
| protected SubitemPropertiesAggregator | $subitem_properties, | ||
| protected SubitemPropertiesFactory | $subitem_properties_factory, | ||
| protected CopyrightHelper | $copyright_helper, | ||
| protected AccessChecker | $access, | ||
| protected Sanitizer | $sanitizer | ||
| ) |
Definition at line 46 of file ResultPresenterImpl.php.
| ILIAS\Search\Presentation\Result\ResultPresenterImpl::getDirectSearchResultAsPanel | ( | ilSearchResult | $result, |
| ViewControlInfos | $view_control_infos | ||
| ) |
Implements ILIAS\Search\Presentation\Result\ResultPresenter.
Definition at line 60 of file ResultPresenterImpl.php.
References $ref_id, ILIAS\Repository\access(), ILIAS\Search\Presentation\Result\ResultPresenterImpl\getItemsForSubitemsFromDirectSearch(), and ILIAS\Search\Presentation\Result\ResultPresenterImpl\MAX_SUBITEMS.
Here is the call graph for this function:
|
protected |
| array{id | int, type: string} ...$raw_sub_ids |
Definition at line 126 of file ResultPresenterImpl.php.
Referenced by ILIAS\Search\Presentation\Result\ResultPresenterImpl\getDirectSearchResultAsPanel().
Here is the caller graph for this function:
|
protected |
| array{id | int, type: string} ...$raw_sub_ids |
Definition at line 221 of file ResultPresenterImpl.php.
| ILIAS\Search\Presentation\Result\ResultPresenterImpl::getLuceneSearchResultAsPanel | ( | ilLuceneSearchResultFilter | $result, |
| ilLuceneHighlighterResultParser | $highlighter, | ||
| ViewControlInfos | $view_control_infos | ||
| ) |
Implements ILIAS\Search\Presentation\Result\ResultPresenter.
Definition at line 155 of file ResultPresenterImpl.php.
References $ref_id, ILIAS\Repository\access(), ilLuceneHighlighterResultParser\getContent(), ilLuceneHighlighterResultParser\getDescription(), ilLuceneHighlighterResultParser\getRelevance(), ilLuceneHighlighterResultParser\getSubItemIds(), and ilLuceneHighlighterResultParser\getTitle().
Here is the call graph for this function:| ILIAS\Search\Presentation\Result\ResultPresenterImpl::getViewControlInfos | ( | Sortation | $sortation, |
| int | $current_page, | ||
| int | $max_pages, | ||
| int | $page_size, | ||
| URI | $pagination_action, | ||
| Param | $page_param_name, | ||
| URI | $sortation_action, | ||
| Param | $sortation_param_name | ||
| ) |
Implements ILIAS\Search\Presentation\Result\ResultPresenter.
Definition at line 271 of file ResultPresenterImpl.php.
| ILIAS\Search\Presentation\Result\ResultPresenterImpl::replacePlaceholders | ( | string | $html | ) |
Implements ILIAS\Search\Presentation\Result\ResultPresenter.
Definition at line 293 of file ResultPresenterImpl.php.
|
protected |
| array{relevance | int, title: string, creation_date: DateTimeImmutable, item: Item} ...$items_with_sort_data |
Definition at line 254 of file ResultPresenterImpl.php.
References Vendor\Package\$a, Vendor\Package\$b, and ILIAS\Search\Presentation\Result\CREATION_DATE_DESC.
|
protected |
Definition at line 43 of file ResultPresenterImpl.php.
Referenced by ILIAS\Search\Presentation\Result\ResultPresenterImpl\getDirectSearchResultAsPanel().
|
protected |
Definition at line 44 of file ResultPresenterImpl.php.