| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
Class ilShopResultPresentationGUI. More...
 Collaboration diagram for ilShopResultPresentationGUI:
 Collaboration diagram for ilShopResultPresentationGUI:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 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 $title, and ilUtil\getImagePath().
Referenced by renderItems().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilShopResultPresentationGUI::addSeparatorRow | ( | & | $a_tpl | ) | 
Definition at line 433 of file class.ilShopResultPresentationGUI.php.
Referenced by renderItems().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilShopResultPresentationGUI::newBlockTemplate | ( | ) | 
returns a new list block template
private
Definition at line 392 of file class.ilShopResultPresentationGUI.php.
References $tpl.
Referenced by renderItems().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilShopResultPresentationGUI::renderItemList | ( | $results | ) | 
Definition at line 351 of file class.ilShopResultPresentationGUI.php.
References $results, and renderItems().
Referenced by showResults().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilShopResultPresentationGUI::resetRowType | ( | ) | 
Definition at line 555 of file class.ilShopResultPresentationGUI.php.
Referenced by renderItems().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilShopResultPresentationGUI::showSpecials | ( | ) | 
Definition at line 58 of file class.ilShopResultPresentationGUI.php.
References $result, $results, ilShopTopics\_getInstance(), and renderItems().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilShopResultPresentationGUI::sortResult | ( | $result | ) | 
Definition at line 113 of file class.ilShopResultPresentationGUI.php.
References $result, and ilUtil\sortArray().
Referenced by renderItems().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().