ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilShopTopics. More...
Public Member Functions | |
read () | |
getTopics () | |
setIdFilter ($a_id_filter) | |
getIdFilter () | |
setSortingType ($a_sorting_type) | |
getSortingType () | |
setSortingDirection ($a_sorting_direction) | |
getSortingDirection () | |
enableCustomSorting ($a_enable_custom_sorting) | |
isCustomSortingEnabled () |
Static Public Member Functions | |
static | _getInstance () |
Data Fields | |
const | TOPICS_SORT_BY_TITLE = 1 |
const | TOPICS_SORT_BY_CREATEDATE = 2 |
const | TOPICS_SORT_MANUALLY = 3 |
const | DEFAULT_SORTING_TYPE = self::TOPICS_SORT_BY_TITLE |
const | DEFAULT_SORTING_DIRECTION = 'ASC' |
Private Member Functions | |
__construct () |
Private Attributes | |
$db = null | |
$sorting_type = self::TOPICS_SORT_BY_TITLE | |
$sorting_direction = 'ASC' | |
$enable_custom_sorting = false | |
$id_filter = 0 | |
$topics = array() |
Static Private Attributes | |
static | $instance |
|
private |
Definition at line 34 of file class.ilShopTopics.php.
References $ilDB.
|
static |
Definition at line 41 of file class.ilShopTopics.php.
References $instance.
Referenced by ilPaymentObjectGUI\editDetails(), ilObjPaymentSettingsGUI\editDetailsObject(), ilShopGUI\performSearch(), read(), ilShopAdvancedSearchGUI\searchObjects(), ilShopAdvancedSearchGUI\showForm(), ilShopGUI\showGeneralFilter(), ilShopResultPresentationGUI\showSpecials(), ilShopGUI\showTopicsFilter(), ilShopTopicsGUI\showTopicsList(), and ilShopPersonalSettingsGUI\showTopicsSortingTable().
ilShopTopics::enableCustomSorting | ( | $a_enable_custom_sorting | ) |
Definition at line 206 of file class.ilShopTopics.php.
ilShopTopics::getIdFilter | ( | ) |
Definition at line 186 of file class.ilShopTopics.php.
References $id_filter.
Referenced by read().
ilShopTopics::getSortingDirection | ( | ) |
Definition at line 202 of file class.ilShopTopics.php.
References $sorting_direction.
Referenced by read().
ilShopTopics::getSortingType | ( | ) |
Definition at line 194 of file class.ilShopTopics.php.
References $sorting_type.
Referenced by read().
ilShopTopics::getTopics | ( | ) |
Definition at line 177 of file class.ilShopTopics.php.
ilShopTopics::isCustomSortingEnabled | ( | ) |
Definition at line 210 of file class.ilShopTopics.php.
References $enable_custom_sorting.
Referenced by read().
ilShopTopics::read | ( | ) |
Definition at line 51 of file class.ilShopTopics.php.
References $query, $res, $row, _getInstance(), getIdFilter(), getSortingDirection(), getSortingType(), isCustomSortingEnabled(), setSortingDirection(), and setSortingType().
ilShopTopics::setIdFilter | ( | $a_id_filter | ) |
Definition at line 182 of file class.ilShopTopics.php.
ilShopTopics::setSortingDirection | ( | $a_sorting_direction | ) |
Definition at line 198 of file class.ilShopTopics.php.
Referenced by read().
ilShopTopics::setSortingType | ( | $a_sorting_type | ) |
Definition at line 190 of file class.ilShopTopics.php.
Referenced by read().
|
private |
Definition at line 20 of file class.ilShopTopics.php.
|
private |
Definition at line 23 of file class.ilShopTopics.php.
Referenced by isCustomSortingEnabled().
|
private |
Definition at line 24 of file class.ilShopTopics.php.
Referenced by getIdFilter().
|
staticprivate |
Definition at line 18 of file class.ilShopTopics.php.
Referenced by _getInstance().
|
private |
Definition at line 22 of file class.ilShopTopics.php.
Referenced by getSortingDirection().
|
private |
Definition at line 21 of file class.ilShopTopics.php.
Referenced by getSortingType().
|
private |
Definition at line 25 of file class.ilShopTopics.php.
const ilShopTopics::DEFAULT_SORTING_DIRECTION = 'ASC' |
Definition at line 32 of file class.ilShopTopics.php.
Referenced by ilShopAdvancedSearchGUI\showForm().
const ilShopTopics::DEFAULT_SORTING_TYPE = self::TOPICS_SORT_BY_TITLE |
Definition at line 31 of file class.ilShopTopics.php.
const ilShopTopics::TOPICS_SORT_BY_CREATEDATE = 2 |
Definition at line 28 of file class.ilShopTopics.php.
Referenced by ilShopAdvancedSearchGUI\showForm(), ilShopGUI\showGeneralFilter(), and ilShopGUI\showTopicsFilter().
const ilShopTopics::TOPICS_SORT_BY_TITLE = 1 |
Definition at line 27 of file class.ilShopTopics.php.
Referenced by ilShopAdvancedSearchGUI\getSortingTypeTopics(), ilShopGUI\getSortingTypeTopics(), ilShopAdvancedSearchGUI\setSortingTypeTopics(), ilShopGUI\setSortingTypeTopics(), ilShopAdvancedSearchGUI\showForm(), ilShopGUI\showGeneralFilter(), and ilShopGUI\showTopicsFilter().
const ilShopTopics::TOPICS_SORT_MANUALLY = 3 |
Definition at line 29 of file class.ilShopTopics.php.
Referenced by ilShopAdvancedSearchGUI\getSortingTypeTopics(), ilShopGUI\getSortingTypeTopics(), ilShopAdvancedSearchGUI\setSortingTypeTopics(), ilShopGUI\setSortingTypeTopics(), ilShopAdvancedSearchGUI\showForm(), ilShopGUI\showGeneralFilter(), ilShopGUI\showTopicsFilter(), ilShopTopicsGUI\showTopicsList(), and ilShopPersonalSettingsGUI\showTopicsSortingTable().