1. sfWidgetFormInputHidden.class.php
  2. /** * 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 $ */
  3. class sfWidgetFormInputHidden extends sfWidgetFormInput
  4. {
  5. /**
  6. * @param array $options An array of options
  7. * @param array $attributes An array of default HTML attributes
  8. *
  9. * @see sfWidgetFormInput
  10. */
  11. protected function configure($options = array(), $attributes = array())
  12. {
  13. parent::configure($options, $attributes);
  14. $this->setOption('is_hidden', true);
  15. $this->setOption('type', 'hidden');
  16. }
  17. }

Debug toolbar