Exemplo n.º 1
0
 protected function getIcons()
 {
     $buttons = JeaHelper::getToolsIcons();
     if ((double) JVERSION > 3) {
         foreach ($buttons as $button) {
             if (!empty($button['name'])) {
                 $styleSheet = 'media/com_jea/' . $button['name'] . '/styles.css';
                 if (file_exists(JPATH_ROOT . '/' . $styleSheet)) {
                     JHtml::stylesheet($styleSheet);
                 }
             }
         }
     }
     return JHtml::_('icons.buttons', $buttons);
 }