| 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/saint-martin-lg/administrator/components/com_maximenuck/elements/ |
Upload File : |
<?php
/**
* @copyright Copyright (C) 2020 Cedric KEIFLIN alias ced1870
* https://www.joomlack.fr
* @license GNU/GPL
* */
// no direct access
defined('_JEXEC') or die('Restricted access');
class JFormFieldCktestv9 extends \Joomla\CMS\Form\Field\RadioField {
protected $type = 'cktestv9';
protected function getInput() {
// module already exists ?
$exists = \Maximenuck\CKFof::getApplication()->input->get('id', 0, 'int');
// module saved with V9
$isV9 = $this->value == '1' ? '1' : ($exists ? '0' : '1');
$this->value = $isV9;
return parent::getInput();
}
protected function getLabel() {
return parent::getLabel();
}
}