19declare(strict_types=1);
41 protected DataFactory $data_factory
47 $ctrl_target = $this->
ctrl->getLinkTargetByClass(
56 $ctrl_target = $this->
ctrl->getLinkTargetByClass(
58 self::REMOTE_SEARCH_CMD
65 $ctrl_target = $this->
ctrl->getLinkTargetByClass(
67 self::SHOW_SAVED_RESULTS_CMD
74 $ctrl_target = $this->
ctrl->getLinkTargetByClass(
76 self::APPLY_FILTER_CMD
83 $this->
ctrl->setParameterByClass(ilSearchGUI::class, Param::SORTATION->value, $sortation->value);
84 $ctrl_target = $this->
ctrl->getLinkTargetByClass(
86 self::SWITCH_RESULT_PAGE_CMD
88 $this->
ctrl->clearParameterByClass(ilSearchGUI::class, Param::SORTATION->value);
94 $ctrl_target = $this->
ctrl->getLinkTargetByClass(
96 self::SORT_RESULT_PAGE_CMD
103 $ctrl_target = $this->
ctrl->getLinkTargetByClass(
105 self::AUTO_COMPLETE_CMD,
114 return in_array($cmd, [
116 self::REMOTE_SEARCH_CMD,
117 self::SHOW_SAVED_RESULTS_CMD,
118 self::APPLY_FILTER_CMD,
119 self::SWITCH_RESULT_PAGE_CMD,
120 self::SORT_RESULT_PAGE_CMD,
121 self::AUTO_COMPLETE_CMD
127 return $this->data_factory->uri(
128 rtrim(ILIAS_HTTP_PATH,
'/') .
'/' . $ctrl_target
The scope of this class is split ilias-conform URI's into components.
const string SORT_RESULT_PAGE_CMD
const string AUTO_COMPLETE_CMD
const string REMOTE_SEARCH_CMD
switchResultPage(Sortation $sortation)
ctrlToURI(string $ctrl_target)
const string SHOW_SAVED_RESULTS_CMD
const string APPLY_FILTER_CMD
__construct(protected ilCtrlInterface $ctrl, protected DataFactory $data_factory)
isValidCommand(string $cmd)
const string SWITCH_RESULT_PAGE_CMD
@ilCtrl_IsCalledBy ilSearchGUI: ilSearchControllerGUI
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...