* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * sfWidgetFormInputHidden represents a hidden HTML input tag. * * @package symfony * @subpackage widget * @author Fabien Potencier * @version SVN: $Id: sfWidgetFormInputHidden.class.php 9046 2008-05-19 08:13:51Z FabianLange $ */ class sfWidgetFormInputHidden extends sfWidgetFormInput { /** * @param array $options An array of options * @param array $attributes An array of default HTML attributes * * @see sfWidgetFormInput */ protected function configure($options = array(), $attributes = array()) { parent::configure($options, $attributes); $this->setOption('is_hidden', true); $this->setOption('type', 'hidden'); } }