ILIAS
Release_4_4_x_branch Revision 61816
|
Class ilShopResultPresentationGUI. More...
Public Member Functions | |
ilShopResultPresentationGUI ($result) | |
showResults () | |
showSpecials () | |
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, $a_ref_id) | |
newBlockTemplate () | |
returns a new list block template | |
addHeaderRow (&$a_tpl, $a_type) | |
adds a header row to a block template | |
addSeparatorRow (&$a_tpl) | |
__appendChildLinks ($html, $item, &$item_list_gui) | |
resetRowType () |
Data Fields | |
$tpl | |
$lng | |
$result = 0 |
Protected Attributes | |
$search_cache = null |
Private Member Functions | |
renderItems ($oContainerTpl, $results, $topic) |
Private Attributes | |
$sort_field = '' | |
$sort_direction = '' |
Class ilShopResultPresentationGUI.
Definition at line 17 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::__appendChildLinks | ( | $html, | |
$item, | |||
& | $item_list_gui | ||
) |
Definition at line 440 of file class.ilShopResultPresentationGUI.php.
References $tpl, ilLink\_getLink(), ilGlossaryTerm\_lookGlossaryTerm(), ilLMObject\_lookupTitle(), ilNewsItem\_lookupTitle(), ilLMObject\_lookupType(), ilWikiPage\lookupTitle(), and ilWikiUtil\makeUrlTitle().
Referenced by renderItems().
ilShopResultPresentationGUI::addHeaderRow | ( | & | $a_tpl, |
$a_type | |||
) |
adds a header row to a block template
object | $a_tpl | block template |
string | $a_type | object type private |
Definition at line 408 of file class.ilShopResultPresentationGUI.php.
References ilUtil\getImagePath().
Referenced by renderItems().
ilShopResultPresentationGUI::addSeparatorRow | ( | & | $a_tpl | ) |
Definition at line 433 of file class.ilShopResultPresentationGUI.php.
Referenced by renderItems().
ilShopResultPresentationGUI::addStandardRow | ( | $a_tpl, | |
$a_html, | |||
$a_ref_id | |||
) |
$a_tpl | |
$a_html | |
$a_ref_id |
Definition at line 369 of file class.ilShopResultPresentationGUI.php.
Referenced by renderItems().
ilShopResultPresentationGUI::getSortDirection | ( | ) |
Definition at line 108 of file class.ilShopResultPresentationGUI.php.
References $sort_direction.
ilShopResultPresentationGUI::getSortField | ( | ) |
Definition at line 100 of file class.ilShopResultPresentationGUI.php.
References $sort_field.
ilShopResultPresentationGUI::getTypeOrdering | ( | ) |
Definition at line 92 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::ilShopResultPresentationGUI | ( | $result | ) |
Definition at line 30 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 392 of file class.ilShopResultPresentationGUI.php.
References $tpl.
Referenced by renderItems().
ilShopResultPresentationGUI::renderItemList | ( | $results | ) |
Definition at line 351 of file class.ilShopResultPresentationGUI.php.
References $results, and renderItems().
Referenced by showResults().
|
private |
Definition at line 133 of file class.ilShopResultPresentationGUI.php.
References $ilUser, $ref_id, $results, $tpl, __appendChildLinks(), ilShopUtils\_addToShoppingCartSymbol(), ilPaymentPrices\_formatPriceToString(), ilObjectListGUIFactory\_getListGUIByType(), ilShopUtils\_getPaymethodSymbol(), ilShopUtils\_getSpecialObjectSymbol(), ilPaymentObject\_hasAccess(), ilPaymentObject\_lookupPobjectId(), addHeaderRow(), addSeparatorRow(), addStandardRow(), ilObjectListGUI\CONTEXT_SHOP, ilPaymentPrices\getLowestPrice(), newBlockTemplate(), resetRowType(), and sortResult().
Referenced by renderItemList(), and showSpecials().
ilShopResultPresentationGUI::resetRowType | ( | ) |
Definition at line 555 of file class.ilShopResultPresentationGUI.php.
Referenced by renderItems().
ilShopResultPresentationGUI::setSortDirection | ( | $a_sort_direction | ) |
Definition at line 104 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::setSortField | ( | $a_sort_field | ) |
Definition at line 96 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::setTypeOrdering | ( | $a_type_ordering_array | ) |
Definition at line 88 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::showResults | ( | ) |
Definition at line 50 of file class.ilShopResultPresentationGUI.php.
References $results, and renderItemList().
ilShopResultPresentationGUI::showSpecials | ( | ) |
Definition at line 58 of file class.ilShopResultPresentationGUI.php.
References $result, $results, ilShopTopics\_getInstance(), and renderItems().
ilShopResultPresentationGUI::sortResult | ( | $result | ) |
Definition at line 113 of file class.ilShopResultPresentationGUI.php.
References $result, and ilUtil\sortArray().
Referenced by renderItems().
ilShopResultPresentationGUI::$lng |
Definition at line 22 of file class.ilShopResultPresentationGUI.php.
Referenced by ilShopResultPresentationGUI().
ilShopResultPresentationGUI::$result = 0 |
Definition at line 24 of file class.ilShopResultPresentationGUI.php.
Referenced by ilShopResultPresentationGUI(), showSpecials(), and sortResult().
|
protected |
Definition at line 19 of file class.ilShopResultPresentationGUI.php.
|
private |
Definition at line 28 of file class.ilShopResultPresentationGUI.php.
Referenced by getSortDirection().
|
private |
Definition at line 27 of file class.ilShopResultPresentationGUI.php.
Referenced by getSortField().
ilShopResultPresentationGUI::$tpl |
Definition at line 21 of file class.ilShopResultPresentationGUI.php.
Referenced by __appendChildLinks(), newBlockTemplate(), and renderItems().