ILIAS
Release_4_2_x_branch Revision 61807
|
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) | |
adds a standard row to a block template | |
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 443 of file class.ilShopResultPresentationGUI.php.
References $tpl, ilLink\_getLink(), ilGlossaryTerm\_lookGlossaryTerm(), ilObjForum\_lookupThreadSubject(), 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 411 of file class.ilShopResultPresentationGUI.php.
References $title, and ilUtil\getImagePath().
Referenced by renderItems().
ilShopResultPresentationGUI::addSeparatorRow | ( | & | $a_tpl | ) |
Definition at line 436 of file class.ilShopResultPresentationGUI.php.
Referenced by renderItems().
ilShopResultPresentationGUI::addStandardRow | ( | $a_tpl, | |
$a_html, | |||
$a_ref_id | |||
) |
adds a standard row to a block template
object | $a_tpl | block template |
string | $a_html | html code private |
Definition at line 372 of file class.ilShopResultPresentationGUI.php.
Referenced by renderItems().
ilShopResultPresentationGUI::getSortDirection | ( | ) |
Definition at line 105 of file class.ilShopResultPresentationGUI.php.
References $sort_direction.
ilShopResultPresentationGUI::getSortField | ( | ) |
Definition at line 97 of file class.ilShopResultPresentationGUI.php.
References $sort_field.
ilShopResultPresentationGUI::getTypeOrdering | ( | ) |
Definition at line 89 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::ilShopResultPresentationGUI | ( | $result | ) |
Definition at line 30 of file class.ilShopResultPresentationGUI.php.
References $ilCtrl, $lng, $result, $tpl, and ilUserSearchCache\_getInstance().
ilShopResultPresentationGUI::newBlockTemplate | ( | ) |
returns a new list block template
private
Definition at line 395 of file class.ilShopResultPresentationGUI.php.
References $tpl.
Referenced by renderItems().
ilShopResultPresentationGUI::renderItemList | ( | $results | ) |
Definition at line 350 of file class.ilShopResultPresentationGUI.php.
References $results, and renderItems().
Referenced by showResults().
|
private |
Definition at line 130 of file class.ilShopResultPresentationGUI.php.
References $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 558 of file class.ilShopResultPresentationGUI.php.
Referenced by renderItems().
ilShopResultPresentationGUI::setSortDirection | ( | $a_sort_direction | ) |
Definition at line 101 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::setSortField | ( | $a_sort_field | ) |
Definition at line 93 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::setTypeOrdering | ( | $a_type_ordering_array | ) |
Definition at line 85 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 110 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(), ilShopResultPresentationGUI(), newBlockTemplate(), and renderItems().