Esempio n. 1
0
 function render(&$params, $callback)
 {
     // Include the new menu class
     $xml = rsseoHelper::getXML($params->get('menutype'), $params, $callback);
     if ($xml) {
         $childrens = $xml->children();
         $xml->addAttribute('class', 'rsseo_links');
         $result = JFilterOutput::ampReplace($xml->toString(false));
         $result = str_replace(array('<ul/>', '<ul />'), '', $result);
         if (empty($childrens)) {
             $result = '';
         }
         return $result;
     }
     return;
 }