ILIAS
Release_5_0_x_branch Revision 61816
|
Class ilShopResultPresentationGUI. More...
Public Member Functions | |
ilShopResultPresentationGUI ($result) | |
showResults () | |
showSpecials () | |
showTopics () | |
setTypeOrdering ($a_type_ordering_array) | |
getTypeOrdering () | |
setSortField ($a_sort_field) | |
getSortField () | |
setSortDirection ($a_sort_direction) | |
getSortDirection () | |
sortResult ($result) | |
renderItemList ($results) | |
addStandardRow ($a_tpl, $a_html) | |
newBlockTemplate () | |
returns a new list block template | |
resetRowType () | |
showAdvancedSearchResults () |
Data Fields | |
$tpl | |
$lng | |
$result = 0 |
Protected Attributes | |
$search_cache = null |
Private Member Functions | |
renderItems ($oContainerTpl, $results, $topic) | |
getObjectListItem ($cur_obj_type, $item) |
Private Attributes | |
$sort_field = '' | |
$sort_direction = '' |
Class ilShopResultPresentationGUI.
Definition at line 18 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::addStandardRow | ( | $a_tpl, | |
$a_html | |||
) |
$a_tpl | |
$a_html | |
$a_ref_id |
Definition at line 291 of file class.ilShopResultPresentationGUI.php.
Referenced by renderItems().
|
private |
$cur_obj_type | |
$item |
Definition at line 449 of file class.ilShopResultPresentationGUI.php.
References ilObjectListGUIFactory\_getListGUIByType(), ilPaymentObject\_hasAccess(), ilPaymentObject\_lookupPobjectId(), and ilObjectListGUI\CONTEXT_SHOP.
Referenced by renderItems().
ilShopResultPresentationGUI::getSortDirection | ( | ) |
Definition at line 131 of file class.ilShopResultPresentationGUI.php.
References $sort_direction.
ilShopResultPresentationGUI::getSortField | ( | ) |
Definition at line 123 of file class.ilShopResultPresentationGUI.php.
References $sort_field.
ilShopResultPresentationGUI::getTypeOrdering | ( | ) |
Definition at line 115 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::ilShopResultPresentationGUI | ( | $result | ) |
Definition at line 31 of file class.ilShopResultPresentationGUI.php.
References $ilCtrl, $ilUser, $lng, $result, and ilUserSearchCache\_getInstance().
ilShopResultPresentationGUI::newBlockTemplate | ( | ) |
returns a new list block template
private
Definition at line 311 of file class.ilShopResultPresentationGUI.php.
References $tpl.
Referenced by renderItems().
ilShopResultPresentationGUI::renderItemList | ( | $results | ) |
Definition at line 273 of file class.ilShopResultPresentationGUI.php.
References $results, and renderItems().
|
private |
Definition at line 156 of file class.ilShopResultPresentationGUI.php.
References $ilUser, $ref_id, $results, $tpl, ilShopUtils\_addToShoppingCartSymbol(), ilPaymentPrices\_formatPriceToString(), ilObject\_getIcon(), ilShopUtils\_getPaymethodSymbol(), ilShopUtils\_getSpecialObjectSymbol(), ilPaymentObject\_lookupPobjectId(), addStandardRow(), ilPaymentPrices\getLowestPrice(), getObjectListItem(), newBlockTemplate(), resetRowType(), and sortResult().
Referenced by renderItemList(), showSpecials(), and showTopics().
ilShopResultPresentationGUI::resetRowType | ( | ) |
Definition at line 439 of file class.ilShopResultPresentationGUI.php.
Referenced by renderItems().
ilShopResultPresentationGUI::setSortDirection | ( | $a_sort_direction | ) |
Definition at line 127 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::setSortField | ( | $a_sort_field | ) |
Definition at line 119 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::setTypeOrdering | ( | $a_type_ordering_array | ) |
Definition at line 111 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::showAdvancedSearchResults | ( | ) |
Definition at line 534 of file class.ilShopResultPresentationGUI.php.
References showSpecials().
ilShopResultPresentationGUI::showResults | ( | ) |
Definition at line 49 of file class.ilShopResultPresentationGUI.php.
References showTopics().
ilShopResultPresentationGUI::showSpecials | ( | ) |
Definition at line 55 of file class.ilShopResultPresentationGUI.php.
References $result, $results, ilShopTopics\_getInstance(), and renderItems().
Referenced by showAdvancedSearchResults().
ilShopResultPresentationGUI::showTopics | ( | ) |
Definition at line 84 of file class.ilShopResultPresentationGUI.php.
References $result, $results, ilShopTopics\_getInstance(), and renderItems().
Referenced by showResults().
ilShopResultPresentationGUI::sortResult | ( | $result | ) |
Definition at line 136 of file class.ilShopResultPresentationGUI.php.
References $result, and ilUtil\sortArray().
Referenced by renderItems().
ilShopResultPresentationGUI::$lng |
Definition at line 23 of file class.ilShopResultPresentationGUI.php.
Referenced by ilShopResultPresentationGUI().
ilShopResultPresentationGUI::$result = 0 |
Definition at line 25 of file class.ilShopResultPresentationGUI.php.
Referenced by ilShopResultPresentationGUI(), showSpecials(), showTopics(), and sortResult().
|
protected |
Definition at line 20 of file class.ilShopResultPresentationGUI.php.
|
private |
Definition at line 29 of file class.ilShopResultPresentationGUI.php.
Referenced by getSortDirection().
|
private |
Definition at line 28 of file class.ilShopResultPresentationGUI.php.
Referenced by getSortField().
ilShopResultPresentationGUI::$tpl |
Definition at line 22 of file class.ilShopResultPresentationGUI.php.
Referenced by newBlockTemplate(), and renderItems().