/** * 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; }
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; }