Exemple #1
0
 /**
  * Method to get the field options.
  *
  * @return  array  The field option objects.
  */
 protected function getOptions()
 {
     require_once COM_FABRIK_FRONTEND . '/helpers/image.php';
     $imageLibs = FabimageHelper::getLibs();
     if (empty($imageLibs)) {
         return JHTML::_('select.option', JText::_('COM_FABRIK_IMAGELIBS_NOT_FOUND'));
     }
     return $imageLibs;
 }
Exemple #2
0
 function getOptions()
 {
     require_once COM_FABRIK_FRONTEND . DS . 'helpers' . DS . 'image.php';
     $imageLibs = FabimageHelper::getLibs();
     if (empty($imageLibs)) {
         return JHTML::_('select.option', JText::_('NO MAGE LIBRARY FOUND'));
     }
     return $imageLibs;
 }