ILIAS
Release_4_1_x_branch Revision 61804
|
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 16 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::__appendChildLinks | ( | $html, | |
$item, | |||
& | $item_list_gui | ||
) |
Definition at line 357 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 325 of file class.ilShopResultPresentationGUI.php.
References $title, and ilUtil\getImagePath().
Referenced by renderItems().
ilShopResultPresentationGUI::addSeparatorRow | ( | & | $a_tpl | ) |
Definition at line 350 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 286 of file class.ilShopResultPresentationGUI.php.
Referenced by renderItems().
ilShopResultPresentationGUI::getSortDirection | ( | ) |
Definition at line 77 of file class.ilShopResultPresentationGUI.php.
References $sort_direction.
ilShopResultPresentationGUI::getSortField | ( | ) |
Definition at line 69 of file class.ilShopResultPresentationGUI.php.
References $sort_field.
ilShopResultPresentationGUI::getTypeOrdering | ( | ) |
Definition at line 61 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::ilShopResultPresentationGUI | ( | $result | ) |
Definition at line 29 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 309 of file class.ilShopResultPresentationGUI.php.
References $tpl.
Referenced by renderItems().
ilShopResultPresentationGUI::renderItemList | ( | $results | ) |
Definition at line 264 of file class.ilShopResultPresentationGUI.php.
References $results, and renderItems().
Referenced by showResults().
|
private |
Definition at line 102 of file class.ilShopResultPresentationGUI.php.
References $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 468 of file class.ilShopResultPresentationGUI.php.
Referenced by renderItems().
ilShopResultPresentationGUI::setSortDirection | ( | $a_sort_direction | ) |
Definition at line 73 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::setSortField | ( | $a_sort_field | ) |
Definition at line 65 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::setTypeOrdering | ( | $a_type_ordering_array | ) |
Definition at line 57 of file class.ilShopResultPresentationGUI.php.
ilShopResultPresentationGUI::showResults | ( | ) |
Definition at line 49 of file class.ilShopResultPresentationGUI.php.
References $results, and renderItemList().
ilShopResultPresentationGUI::sortResult | ( | $result | ) |
Definition at line 82 of file class.ilShopResultPresentationGUI.php.
References $result, and ilUtil\sortArray().
Referenced by renderItems().
ilShopResultPresentationGUI::$lng |
Definition at line 21 of file class.ilShopResultPresentationGUI.php.
Referenced by ilShopResultPresentationGUI().
ilShopResultPresentationGUI::$result = 0 |
Definition at line 23 of file class.ilShopResultPresentationGUI.php.
Referenced by ilShopResultPresentationGUI(), and sortResult().
|
protected |
Definition at line 18 of file class.ilShopResultPresentationGUI.php.
|
private |
Definition at line 27 of file class.ilShopResultPresentationGUI.php.
Referenced by getSortDirection().
|
private |
Definition at line 26 of file class.ilShopResultPresentationGUI.php.
Referenced by getSortField().
ilShopResultPresentationGUI::$tpl |
Definition at line 20 of file class.ilShopResultPresentationGUI.php.
Referenced by __appendChildLinks(), ilShopResultPresentationGUI(), newBlockTemplate(), and renderItems().