| Server IP : 46.105.57.169 / Your IP : 216.73.216.144 Web Server : Apache System : Linux webd003.cluster120.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : maitricfuz ( 93378) PHP Version : 8.4.10 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/maitricfuz/www/new-saint-martin/plugins/system/jtaldef/field/ |
Upload File : |
<?php
/**
* Automatic local download external files
*
* @package Joomla.Plugin
* @subpackage System.Jtaldef
*
* @author Guido De Gobbis <support@joomtools.de>
* @copyright (c) 2020 JoomTools.de - All rights reserved.
* @license GNU General Public License version 3 or later
*/
defined('JPATH_PLATFORM') or die;
JLoader::registerNamespace('Jtaldef', JPATH_PLUGINS . '/system/jtaldef/src', false, false, 'psr4');
if (version_compare(JVERSION, 4, 'lt'))
{
JFormHelper::loadFieldClass('list');
}
/**
* List of supported Handler
*
* @since 1.0.0
*/
class JFormFieldJtaldefHandlerToParse extends JFormFieldList
{
/**
* The form field type.
*
* @var string
* @since 1.0.0
*/
protected $type = 'JtaldefHandlerToParse';
/**
* Name of the layout being used to render the field
*
* @var string
* @since 4.0.0
*/
protected $layout = 'joomla.form.field.list-fancy-select';
/**
* Method to get the field input markup for a generic list.
* Use the multiple attribute to enable multiselect.
*
* @return string The field input markup.
*
* @since 3.7.0
*/
protected function getInput()
{
if (version_compare(JVERSION, '4', 'lt'))
{
$this->layout = '';
return parent::getInput();
}
$data = $this->getLayoutData();
$data['options'] = (array) $this->getOptions();
return $this->getRenderer($this->layout)->render($data);
}
}