ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilShopAdvancedSearchGUI. More...
Public Member Functions | |
__construct () | |
setSorting () | |
executeCommand () | |
setFilter () | |
resetFilter () | |
performSearch () | |
showForm ($result=null) | |
setCombination ($a_combination) | |
getCombination () | |
setString ($a_str) | |
getString () | |
setDetails ($a_details) | |
getDetails () | |
setTopicId ($a_topic) | |
getTopicId () | |
setSortDirection ($a_sort_direction) | |
getSortDirection () | |
setSortField ($a_field) | |
getSortField () | |
setSortingTypeTopics ($a_field) | |
getSortingTypeTopics () | |
setSortingDirectionTopics ($a_sort_direction) | |
getSortingDirectionTopics () |
Data Fields | |
const | SEARCH_OR = 'or' |
const | SEARCH_AND = 'and' |
Protected Member Functions | |
prepareOutput () | |
Protected Member Functions inherited from ilShopBaseGUI | |
addPager ($result) |
Private Member Functions | |
parseQueryString () | |
searchObjects ($query_parser) | |
getFilter () |
Private Attributes | |
$string = '' | |
$combination = '' | |
$details = array() | |
$topic_id = 0 | |
$sort_type_topics = '' | |
$sort_direction_topics = '' | |
$sort_field = '' | |
$sort_direction = '' |
Additional Inherited Members | |
Protected Attributes inherited from ilShopBaseGUI | |
$ctrl = null | |
$lng = null | |
$tpl = null | |
$settings = null |
Class ilShopAdvancedSearchGUI.
Definition at line 14 of file class.ilShopAdvancedSearchGUI.php.
ilShopAdvancedSearchGUI::__construct | ( | ) |
Reimplemented from ilShopBaseGUI.
Definition at line 28 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION, setCombination(), setDetails(), setSortDirection(), setSortField(), setSortingDirectionTopics(), setSortingTypeTopics(), setString(), and setTopicId().
ilShopAdvancedSearchGUI::executeCommand | ( | ) |
Definition at line 61 of file class.ilShopAdvancedSearchGUI.php.
References $_POST, $cmd, and prepareOutput().
ilShopAdvancedSearchGUI::getCombination | ( | ) |
Definition at line 295 of file class.ilShopAdvancedSearchGUI.php.
References SEARCH_OR.
Referenced by parseQueryString().
ilShopAdvancedSearchGUI::getDetails | ( | ) |
Definition at line 311 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getFilter(), and performSearch().
|
private |
Definition at line 229 of file class.ilShopAdvancedSearchGUI.php.
References getDetails().
Referenced by searchObjects().
ilShopAdvancedSearchGUI::getSortDirection | ( | ) |
Definition at line 328 of file class.ilShopAdvancedSearchGUI.php.
References $sort_direction.
ilShopAdvancedSearchGUI::getSortField | ( | ) |
Definition at line 336 of file class.ilShopAdvancedSearchGUI.php.
References $sort_field.
ilShopAdvancedSearchGUI::getSortingDirectionTopics | ( | ) |
Definition at line 368 of file class.ilShopAdvancedSearchGUI.php.
References $sort_direction_topics.
Referenced by searchObjects().
ilShopAdvancedSearchGUI::getSortingTypeTopics | ( | ) |
Definition at line 352 of file class.ilShopAdvancedSearchGUI.php.
References $ilUser, $sort_type_topics, ilShopTopics\TOPICS_SORT_BY_TITLE, and ilShopTopics\TOPICS_SORT_MANUALLY.
Referenced by searchObjects().
ilShopAdvancedSearchGUI::getString | ( | ) |
Definition at line 303 of file class.ilShopAdvancedSearchGUI.php.
References $string.
Referenced by parseQueryString().
ilShopAdvancedSearchGUI::getTopicId | ( | ) |
Definition at line 319 of file class.ilShopAdvancedSearchGUI.php.
References $topic_id.
Referenced by searchObjects().
|
private |
Definition at line 157 of file class.ilShopAdvancedSearchGUI.php.
References getCombination(), getString(), and ilUtil\stripSlashes().
Referenced by performSearch().
ilShopAdvancedSearchGUI::performSearch | ( | ) |
Definition at line 120 of file class.ilShopAdvancedSearchGUI.php.
References $result, ilShopSearchResult\_getInstance(), getDetails(), parseQueryString(), searchObjects(), ilUtil\sendInfo(), SHOP_ADVANCED_SEARCH, and showForm().
Referenced by setFilter(), and setSorting().
|
protected |
Reimplemented from ilShopBaseGUI.
Definition at line 373 of file class.ilShopAdvancedSearchGUI.php.
Referenced by executeCommand().
ilShopAdvancedSearchGUI::resetFilter | ( | ) |
Definition at line 114 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION, and showForm().
|
private |
Definition at line 173 of file class.ilShopAdvancedSearchGUI.php.
References $_GET, $res, ilShopSearchResult\_getInstance(), ilShopTopics\_getInstance(), ilObjectSearchFactory\_getShopMetaDataSearchInstance(), ilObjectSearchFactory\_getShopObjectSearchInstance(), getFilter(), getSortingDirectionTopics(), getSortingTypeTopics(), getTopicId(), and SHOP_ADVANCED_SEARCH.
Referenced by performSearch().
ilShopAdvancedSearchGUI::setCombination | ( | $a_combination | ) |
Definition at line 291 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and setFilter().
ilShopAdvancedSearchGUI::setDetails | ( | $a_details | ) |
Definition at line 307 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and setFilter().
ilShopAdvancedSearchGUI::setFilter | ( | ) |
Definition at line 91 of file class.ilShopAdvancedSearchGUI.php.
References $_POST, performSearch(), setCombination(), setDetails(), setString(), and setTopicId().
ilShopAdvancedSearchGUI::setSortDirection | ( | $a_sort_direction | ) |
Definition at line 324 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and setSorting().
ilShopAdvancedSearchGUI::setSortField | ( | $a_field | ) |
Definition at line 332 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and setSorting().
ilShopAdvancedSearchGUI::setSorting | ( | ) |
Definition at line 49 of file class.ilShopAdvancedSearchGUI.php.
References $_POST, performSearch(), setSortDirection(), setSortField(), setSortingDirectionTopics(), and setSortingTypeTopics().
ilShopAdvancedSearchGUI::setSortingDirectionTopics | ( | $a_sort_direction | ) |
Definition at line 364 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and setSorting().
ilShopAdvancedSearchGUI::setSortingTypeTopics | ( | $a_field | ) |
Definition at line 340 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION, $ilUser, ilShopTopics\TOPICS_SORT_BY_TITLE, and ilShopTopics\TOPICS_SORT_MANUALLY.
Referenced by __construct(), and setSorting().
ilShopAdvancedSearchGUI::setString | ( | $a_str | ) |
Definition at line 299 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and setFilter().
ilShopAdvancedSearchGUI::setTopicId | ( | $a_topic | ) |
Definition at line 315 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and setFilter().
ilShopAdvancedSearchGUI::showForm | ( | $result = null | ) |
Definition at line 254 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION, $result, and ilShopBaseGUI\addPager().
Referenced by performSearch(), and resetFilter().
|
private |
Definition at line 20 of file class.ilShopAdvancedSearchGUI.php.
|
private |
Definition at line 21 of file class.ilShopAdvancedSearchGUI.php.
|
private |
Definition at line 26 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getSortDirection().
|
private |
Definition at line 24 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getSortingDirectionTopics().
|
private |
Definition at line 25 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getSortField().
|
private |
Definition at line 23 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getSortingTypeTopics().
|
private |
Definition at line 19 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getString().
|
private |
Definition at line 22 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getTopicId().
const ilShopAdvancedSearchGUI::SEARCH_AND = 'and' |
Definition at line 17 of file class.ilShopAdvancedSearchGUI.php.
const ilShopAdvancedSearchGUI::SEARCH_OR = 'or' |
Definition at line 16 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getCombination().