1
0
Fork 0
feedizer-php/htdocs/libraries/Nibble-Forms/Nibble/NibbleForms/Field/Hidden.php
2015-11-13 23:51:46 +01:00

21 lines
417 B
PHP

<?php
namespace Nibble\NibbleForms\Field;
class Hidden extends Text
{
public function __construct($label = false, $attributes = array())
{
parent::__construct($label, $attributes);
}
public function returnField($form_name, $name, $value = '')
{
$this->field_type = 'hidden';
$this->label = false;
return parent::returnField($form_name, $name, $value);
}
}