Esempio n. 1
0
 function getList($position)
 {
     global $gorumview, $gorumroll, $ajaxMethods;
     if (!class_exists("rss")) {
         return;
     }
     $positionMapping = array("customListAboveContent", "customListBelowContent", "customListTop", "customListBottom", "customListLeft", "customListRight");
     $listToPageAssignment =& CustomList::getListToPageAssignment();
     $ajaxMethods["item_search"]["showhtmllist"] = array();
     foreach ($listToPageAssignment[$position] as $listId) {
         // hogy a page title, description es keyword-be ne zavarjon be:
         $ajaxMethods["item_search"]["showhtmllist"][] = $listId;
         $ctrl =& new AppController("customlist/{$listId}");
         $gorumroll->processMethod($ctrl, $positionMapping[$position]);
     }
 }