File manager - Edit - /home/jardides/www/Jardi-design/j37/administrator/components/com_fabrik/models/fields/imagelibs.php
Back
<?php /** * Renders a list of installed image libraries * * @package Joomla * @subpackage Form * @copyright Copyright (C) 2005-2016 Media A-Team, Inc. - All rights reserved. * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html */ // No direct access defined('_JEXEC') or die('Restricted access'); require_once JPATH_ADMINISTRATOR . '/components/com_fabrik/helpers/element.php'; /** * Renders a list of installed image libraries * * @package Joomla * @subpackage Form * @since 3.0 */ class JFormFieldImagelibs extends JFormFieldList { /** * Element name * @access protected * @var string */ protected $name = 'Imagelibs'; /** * 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', FText::_('COM_FABRIK_IMAGELIBS_NOT_FOUND')); } return $imageLibs; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings