ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilShopAdvancedSearchGUI. More...
Public Member Functions | |
__construct () | |
setSorting () | |
executeCommand () | |
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, $a_session_key) | |
buildSubTabs () | |
setSection ($a_section) | |
getSection () | |
setSubSection ($a_sub_section) | |
getSubSection () | |
showButton ($a_cmd, $a_text, $a_target= '') | |
initTableGUI () | |
setTableGUIBasicData ($tbl, $result_set, $a_default_order_column= '') |
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 | |
$ilias = null | |
$lng = null | |
$tpl = null | |
$oGeneralSettings = null | |
$section = 0 | |
$sub_section = 0 |
Class ilShopAdvancedSearchGUI.
Definition at line 34 of file class.ilShopAdvancedSearchGUI.php.
ilShopAdvancedSearchGUI::__construct | ( | ) |
Reimplemented from ilShopBaseGUI.
Definition at line 48 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION, setCombination(), setDetails(), setSortDirection(), setSortField(), setSortingDirectionTopics(), setSortingTypeTopics(), setString(), and setTopicId().
ilShopAdvancedSearchGUI::executeCommand | ( | ) |
Definition at line 78 of file class.ilShopAdvancedSearchGUI.php.
References $cmd, and prepareOutput().
ilShopAdvancedSearchGUI::getCombination | ( | ) |
Definition at line 381 of file class.ilShopAdvancedSearchGUI.php.
References SEARCH_OR.
Referenced by parseQueryString(), and showForm().
ilShopAdvancedSearchGUI::getDetails | ( | ) |
Definition at line 397 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getFilter(), performSearch(), and showForm().
|
private |
Definition at line 212 of file class.ilShopAdvancedSearchGUI.php.
References $filter, $key, and getDetails().
Referenced by searchObjects().
ilShopAdvancedSearchGUI::getSortDirection | ( | ) |
Definition at line 414 of file class.ilShopAdvancedSearchGUI.php.
References $sort_direction.
Referenced by showForm().
ilShopAdvancedSearchGUI::getSortField | ( | ) |
Definition at line 422 of file class.ilShopAdvancedSearchGUI.php.
References $sort_field.
Referenced by showForm().
ilShopAdvancedSearchGUI::getSortingDirectionTopics | ( | ) |
Definition at line 454 of file class.ilShopAdvancedSearchGUI.php.
References $sort_direction_topics.
Referenced by searchObjects(), and showForm().
ilShopAdvancedSearchGUI::getSortingTypeTopics | ( | ) |
Definition at line 438 of file class.ilShopAdvancedSearchGUI.php.
References $sort_type_topics, ilShopTopics\TOPICS_SORT_BY_TITLE, and ilShopTopics\TOPICS_SORT_MANUALLY.
Referenced by searchObjects(), and showForm().
ilShopAdvancedSearchGUI::getString | ( | ) |
Definition at line 389 of file class.ilShopAdvancedSearchGUI.php.
References $string.
Referenced by parseQueryString(), and showForm().
ilShopAdvancedSearchGUI::getTopicId | ( | ) |
Definition at line 405 of file class.ilShopAdvancedSearchGUI.php.
References $topic_id.
Referenced by searchObjects(), and showForm().
|
private |
Definition at line 140 of file class.ilShopAdvancedSearchGUI.php.
References getCombination(), getString(), and ilUtil\stripSlashes().
Referenced by performSearch().
ilShopAdvancedSearchGUI::performSearch | ( | ) |
Definition at line 98 of file class.ilShopAdvancedSearchGUI.php.
References $_POST, $result, getDetails(), parseQueryString(), searchObjects(), ilUtil\sendInfo(), setCombination(), setDetails(), setString(), setTopicId(), SHOP_ADVANCED_SEARCH, and showForm().
Referenced by setSorting().
|
protected |
Reimplemented from ilShopBaseGUI.
Definition at line 459 of file class.ilShopAdvancedSearchGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 156 of file class.ilShopAdvancedSearchGUI.php.
References $_GET, $res, ilShopTopics\_getInstance(), ilObjectSearchFactory\_getShopMetaDataSearchInstance(), ilObjectSearchFactory\_getShopObjectSearchInstance(), getFilter(), getSortingDirectionTopics(), getSortingTypeTopics(), getTopicId(), and SHOP_ADVANCED_SEARCH.
Referenced by performSearch().
ilShopAdvancedSearchGUI::setCombination | ( | $a_combination | ) |
Definition at line 377 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and performSearch().
ilShopAdvancedSearchGUI::setDetails | ( | $a_details | ) |
Definition at line 393 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and performSearch().
ilShopAdvancedSearchGUI::setSortDirection | ( | $a_sort_direction | ) |
Definition at line 410 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and setSorting().
ilShopAdvancedSearchGUI::setSortField | ( | $a_field | ) |
Definition at line 418 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and setSorting().
ilShopAdvancedSearchGUI::setSorting | ( | ) |
Definition at line 66 of file class.ilShopAdvancedSearchGUI.php.
References $_POST, performSearch(), setSortDirection(), setSortField(), setSortingDirectionTopics(), and setSortingTypeTopics().
ilShopAdvancedSearchGUI::setSortingDirectionTopics | ( | $a_sort_direction | ) |
Definition at line 450 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and setSorting().
ilShopAdvancedSearchGUI::setSortingTypeTopics | ( | $a_field | ) |
Definition at line 426 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION, ilShopTopics\TOPICS_SORT_BY_TITLE, and ilShopTopics\TOPICS_SORT_MANUALLY.
Referenced by __construct(), and setSorting().
ilShopAdvancedSearchGUI::setString | ( | $a_str | ) |
Definition at line 385 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and performSearch().
ilShopAdvancedSearchGUI::setTopicId | ( | $a_topic | ) |
Definition at line 401 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and performSearch().
ilShopAdvancedSearchGUI::showForm | ( | $result = null | ) |
Definition at line 240 of file class.ilShopAdvancedSearchGUI.php.
References $details, $key, $result, ilShopTopics\_getInstance(), ilShopBaseGUI\addPager(), ilShopTopics\DEFAULT_SORTING_DIRECTION, ilUtil\formCheckbox(), ilUtil\formSelect(), getCombination(), getDetails(), getSortDirection(), getSortField(), getSortingDirectionTopics(), getSortingTypeTopics(), getString(), getTopicId(), ilUtil\prepareFormOutput(), SEARCH_AND, ilShopTopics\TOPICS_SORT_BY_CREATEDATE, ilShopTopics\TOPICS_SORT_BY_TITLE, and ilShopTopics\TOPICS_SORT_MANUALLY.
Referenced by performSearch().
|
private |
Definition at line 40 of file class.ilShopAdvancedSearchGUI.php.
|
private |
Definition at line 41 of file class.ilShopAdvancedSearchGUI.php.
Referenced by showForm().
|
private |
Definition at line 46 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getSortDirection().
|
private |
Definition at line 44 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getSortingDirectionTopics().
|
private |
Definition at line 45 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getSortField().
|
private |
Definition at line 43 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getSortingTypeTopics().
|
private |
Definition at line 39 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getString().
|
private |
Definition at line 42 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getTopicId().
const ilShopAdvancedSearchGUI::SEARCH_AND = 'and' |
Definition at line 37 of file class.ilShopAdvancedSearchGUI.php.
const ilShopAdvancedSearchGUI::SEARCH_OR = 'or' |
Definition at line 36 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getCombination().