ILIAS
Release_4_0_x_branch Revision 61816
|
Class ilShopResultPresentationGUI. More...
Public Member Functions | |
ilShopResultPresentationGUI ($result) | |
showResults () | |
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 36 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::__appendChildLinks | ( | $html, | |
$item, | |||
& | $item_list_gui | ||
) |
Definition at line 377 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 345 of file class.ilShopResultPresentationGUI.php.
References $title, and ilUtil\getImagePath().
Referenced by renderItems().
ilShopResultPresentationGUI::addSeparatorRow | ( | & | $a_tpl | ) |
Definition at line 370 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 306 of file class.ilShopResultPresentationGUI.php.
Referenced by renderItems().
ilShopResultPresentationGUI::getSortDirection | ( | ) |
Definition at line 97 of file class.ilShopResultPresentationGUI.php.
References $sort_direction.
ilShopResultPresentationGUI::getSortField | ( | ) |
Definition at line 89 of file class.ilShopResultPresentationGUI.php.
References $sort_field.
ilShopResultPresentationGUI::getTypeOrdering | ( | ) |
Definition at line 81 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::ilShopResultPresentationGUI | ( | $result | ) |
Definition at line 49 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 329 of file class.ilShopResultPresentationGUI.php.
References $tpl.
Referenced by renderItems().
ilShopResultPresentationGUI::renderItemList | ( | $results | ) |
Definition at line 284 of file class.ilShopResultPresentationGUI.php.
References $results, and renderItems().
Referenced by showResults().
|
private |
Definition at line 122 of file class.ilShopResultPresentationGUI.php.
References $key, $ref_id, $results, $tpl, __appendChildLinks(), ilPaymentPrices\_formatPriceToString(), ilObjectListGUIFactory\_getListGUIByType(), ilPaymentObject\_hasAccess(), ilPaymentObject\_lookupPobjectId(), addHeaderRow(), addSeparatorRow(), addStandardRow(), ilPaymentPrices\getLowestPrice(), newBlockTemplate(), resetRowType(), and sortResult().
Referenced by renderItemList().
ilShopResultPresentationGUI::resetRowType | ( | ) |
Definition at line 488 of file class.ilShopResultPresentationGUI.php.
Referenced by renderItems().
ilShopResultPresentationGUI::setSortDirection | ( | $a_sort_direction | ) |
Definition at line 93 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::setSortField | ( | $a_sort_field | ) |
Definition at line 85 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::setTypeOrdering | ( | $a_type_ordering_array | ) |
Definition at line 77 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::showResults | ( | ) |
Definition at line 69 of file class.ilShopResultPresentationGUI.php.
References $results, and renderItemList().
ilShopResultPresentationGUI::sortResult | ( | $result | ) |
Definition at line 102 of file class.ilShopResultPresentationGUI.php.
References $result, and ilUtil\sortArray().
Referenced by renderItems().
ilShopResultPresentationGUI::$lng |
Definition at line 41 of file class.ilShopResultPresentationGUI.php.
Referenced by ilShopResultPresentationGUI().
ilShopResultPresentationGUI::$result = 0 |
Definition at line 43 of file class.ilShopResultPresentationGUI.php.
Referenced by ilShopResultPresentationGUI(), and sortResult().
|
protected |
Definition at line 38 of file class.ilShopResultPresentationGUI.php.
|
private |
Definition at line 47 of file class.ilShopResultPresentationGUI.php.
Referenced by getSortDirection().
|
private |
Definition at line 46 of file class.ilShopResultPresentationGUI.php.
Referenced by getSortField().
ilShopResultPresentationGUI::$tpl |
Definition at line 40 of file class.ilShopResultPresentationGUI.php.
Referenced by __appendChildLinks(), ilShopResultPresentationGUI(), newBlockTemplate(), and renderItems().