ILIAS
eassessment Revision 61809
|
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 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 58 of file class.ilShopAdvancedSearchGUI.php.
References $cmd, and prepareOutput().
ilShopAdvancedSearchGUI::getCombination | ( | ) |
Definition at line 378 of file class.ilShopAdvancedSearchGUI.php.
References SEARCH_OR.
Referenced by parseQueryString(), and showForm().
ilShopAdvancedSearchGUI::getDetails | ( | ) |
Definition at line 394 of file class.ilShopAdvancedSearchGUI.php.
Referenced by getFilter(), performSearch(), and showForm().
|
private |
Definition at line 192 of file class.ilShopAdvancedSearchGUI.php.
References getDetails().
Referenced by searchObjects().
ilShopAdvancedSearchGUI::getSortDirection | ( | ) |
Definition at line 411 of file class.ilShopAdvancedSearchGUI.php.
References $sort_direction.
Referenced by showForm().
ilShopAdvancedSearchGUI::getSortField | ( | ) |
Definition at line 419 of file class.ilShopAdvancedSearchGUI.php.
References $sort_field.
Referenced by showForm().
ilShopAdvancedSearchGUI::getSortingDirectionTopics | ( | ) |
Definition at line 451 of file class.ilShopAdvancedSearchGUI.php.
References $sort_direction_topics.
Referenced by searchObjects(), and showForm().
ilShopAdvancedSearchGUI::getSortingTypeTopics | ( | ) |
Definition at line 435 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 386 of file class.ilShopAdvancedSearchGUI.php.
References $string.
Referenced by parseQueryString(), and showForm().
ilShopAdvancedSearchGUI::getTopicId | ( | ) |
Definition at line 402 of file class.ilShopAdvancedSearchGUI.php.
References $topic_id.
Referenced by searchObjects(), and showForm().
|
private |
Definition at line 120 of file class.ilShopAdvancedSearchGUI.php.
References getCombination(), getString(), and ilUtil\stripSlashes().
Referenced by performSearch().
ilShopAdvancedSearchGUI::performSearch | ( | ) |
Definition at line 78 of file class.ilShopAdvancedSearchGUI.php.
References $_POST, getDetails(), parseQueryString(), searchObjects(), ilUtil\sendInfo(), setCombination(), setDetails(), setString(), setTopicId(), SHOP_ADVANCED_SEARCH, and showForm().
Referenced by setSorting().
|
protected |
Reimplemented from ilShopBaseGUI.
Definition at line 456 of file class.ilShopAdvancedSearchGUI.php.
Referenced by executeCommand().
|
private |
Definition at line 136 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 374 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and performSearch().
ilShopAdvancedSearchGUI::setDetails | ( | $a_details | ) |
Definition at line 390 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and performSearch().
ilShopAdvancedSearchGUI::setSortDirection | ( | $a_sort_direction | ) |
Definition at line 407 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and setSorting().
ilShopAdvancedSearchGUI::setSortField | ( | $a_field | ) |
Definition at line 415 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and setSorting().
ilShopAdvancedSearchGUI::setSorting | ( | ) |
Definition at line 46 of file class.ilShopAdvancedSearchGUI.php.
References $_POST, performSearch(), setSortDirection(), setSortField(), setSortingDirectionTopics(), and setSortingTypeTopics().
ilShopAdvancedSearchGUI::setSortingDirectionTopics | ( | $a_sort_direction | ) |
Definition at line 447 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and setSorting().
ilShopAdvancedSearchGUI::setSortingTypeTopics | ( | $a_field | ) |
Definition at line 423 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 382 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and performSearch().
ilShopAdvancedSearchGUI::setTopicId | ( | $a_topic | ) |
Definition at line 398 of file class.ilShopAdvancedSearchGUI.php.
References $_SESSION.
Referenced by __construct(), and performSearch().
ilShopAdvancedSearchGUI::showForm | ( | $result = null | ) |
Definition at line 220 of file class.ilShopAdvancedSearchGUI.php.
References $details, 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 20 of file class.ilShopAdvancedSearchGUI.php.
|
private |
Definition at line 21 of file class.ilShopAdvancedSearchGUI.php.
Referenced by showForm().
|
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().