ILIAS
Release_5_0_x_branch Revision 61816
|
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 () | |
getCountAssignedTopics () |
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 ilObjPaymentSettingsGUI\editDetailsObject(), ilAdvancedSearchFilterGUI\initFilter(), ilShopFilterGUI\initFilter(), ilShopGUI\performSearch(), ilShopAdvancedSearchGUI\searchObjects(), ilShopResultPresentationGUI\showSpecials(), ilShopResultPresentationGUI\showTopics(), ilShopGUI\showTopicsFilter(), ilShopTopicsGUI\showTopicsList(), and ilShopPersonalSettingsGUI\showTopicsSortingTable().
ilShopTopics::enableCustomSorting | ( | $a_enable_custom_sorting | ) |
Definition at line 204 of file class.ilShopTopics.php.
ilShopTopics::getCountAssignedTopics | ( | ) |
Definition at line 213 of file class.ilShopTopics.php.
ilShopTopics::getIdFilter | ( | ) |
Definition at line 184 of file class.ilShopTopics.php.
References $id_filter.
Referenced by read().
ilShopTopics::getSortingDirection | ( | ) |
Definition at line 200 of file class.ilShopTopics.php.
References $sorting_direction.
Referenced by read().
ilShopTopics::getSortingType | ( | ) |
Definition at line 192 of file class.ilShopTopics.php.
References $sorting_type.
Referenced by read().
ilShopTopics::getTopics | ( | ) |
Definition at line 175 of file class.ilShopTopics.php.
ilShopTopics::isCustomSortingEnabled | ( | ) |
Definition at line 208 of file class.ilShopTopics.php.
References $enable_custom_sorting.
Referenced by read().
ilShopTopics::read | ( | ) |
Definition at line 51 of file class.ilShopTopics.php.
References $ilUser, $query, $res, $row, getIdFilter(), getSortingDirection(), getSortingType(), isCustomSortingEnabled(), setSortingDirection(), and setSortingType().
ilShopTopics::setIdFilter | ( | $a_id_filter | ) |
Definition at line 180 of file class.ilShopTopics.php.
ilShopTopics::setSortingDirection | ( | $a_sorting_direction | ) |
Definition at line 196 of file class.ilShopTopics.php.
Referenced by read().
ilShopTopics::setSortingType | ( | $a_sorting_type | ) |
Definition at line 188 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.
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 ilAdvancedSearchFilterGUI\initFilter(), ilShopFilterGUI\initFilter(), and ilShopGUI\showTopicsFilter().
const ilShopTopics::TOPICS_SORT_BY_TITLE = 1 |
Definition at line 27 of file class.ilShopTopics.php.
Referenced by ilShopFilterGUI\getSortingTypeTopics(), ilAdvancedSearchFilterGUI\getSortingTypeTopics(), ilShopAdvancedSearchGUI\getSortingTypeTopics(), ilShopGUI\getSortingTypeTopics(), ilAdvancedSearchFilterGUI\initFilter(), ilShopFilterGUI\initFilter(), ilShopFilterGUI\setSortingTypeTopics(), ilAdvancedSearchFilterGUI\setSortingTypeTopics(), ilShopAdvancedSearchGUI\setSortingTypeTopics(), ilShopGUI\setSortingTypeTopics(), and ilShopGUI\showTopicsFilter().
const ilShopTopics::TOPICS_SORT_MANUALLY = 3 |
Definition at line 29 of file class.ilShopTopics.php.
Referenced by ilShopFilterGUI\getSortingTypeTopics(), ilAdvancedSearchFilterGUI\getSortingTypeTopics(), ilShopAdvancedSearchGUI\getSortingTypeTopics(), ilShopGUI\getSortingTypeTopics(), ilAdvancedSearchFilterGUI\initFilter(), ilShopFilterGUI\initFilter(), ilShopFilterGUI\setSortingTypeTopics(), ilAdvancedSearchFilterGUI\setSortingTypeTopics(), ilShopAdvancedSearchGUI\setSortingTypeTopics(), ilShopGUI\setSortingTypeTopics(), ilShopGUI\showTopicsFilter(), ilShopTopicsGUI\showTopicsList(), and ilShopPersonalSettingsGUI\showTopicsSortingTable().