10 defined(
'JPATH_PLATFORM') or die;
29 protected $type =
'Hidden';
38 protected function getInput()
41 $class = !empty($this->
class) ?
' class="' . $this->
class . '"' : '';
42 $disabled = $this->disabled ? ' disabled' : '';
45 $onchange = $this->onchange ? ' onchange="' . $this->onchange . '"' : '';
47 return '<input type="hidden" name="' . $this->name . '" id="' . $this->id . '" value="'
48 . htmlspecialchars($this->value, ENT_COMPAT, 'UTF-8') . '"' . $class . $disabled . $onchange . ' />';