File manager - Edit - /home/jardides/www/Jardi-design/plugins/system/plugin_googlemap3/models/fields/mediakey.php
Back
<?php /** * @package Joomla.Platform * @subpackage Form * * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; jimport('joomla.form.formfield'); jimport('joomla.form.helper'); JFormHelper::loadFieldClass('Media'); /** * Form Field class for the Joomla Platform. * Provides a modal media selector including upload mechanism * * @package Joomla.Platform * @subpackage Form * @since 11.1 */ class JFormFieldMediakey extends JFormFieldMedia { /** * The form field type. * * @var string * @since 11.1 */ protected $type = 'Mediakey'; /** * The initialised state of the document object. * * @var boolean * @since 11.1 */ protected static $initialised = false; /** * Method to get the field input markup for a media selector. * Use attributes to identify specific created_by and asset_id fields * * @return string The field input markup. * * @since 11.1 */ protected function getInput() { $html = parent::getInput(); $readonly = $this->element['readonly'] ? ' readonly="' . (int) $this->element['readonly'] . '"' : ''; $html= str_replace('readonly="readonly"',$readonly, $html); unset($readonly); return $html; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings