: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace Nextend\Framework\Form\Element;
use Nextend\Framework\Form\AbstractField;
use Nextend\Framework\View\Html;
class AbstractFieldHidden extends AbstractField {
protected $hasTooltip = true;
protected $type = 'hidden';
public function __construct($insertAt, $name = '', $label = false, $default = '', $parameters = array()) {
parent::__construct($insertAt, $name, $label, $default, $parameters);
protected function fetchTooltip() {
return parent::fetchTooltip();
return $this->fetchNoTooltip();
protected function fetchElement() {
return Html::tag('input', array(
'name' => $this->getFieldName(),
'value' => $this->getValue(),