1. sfValidatorDateTime.class.php
  2. /** * sfValidatorDateTime validates a date and a time. It also converts the input value to a valid date. * * @package symfony * @subpackage validator * @author Fabien Potencier * @version SVN: $Id: sfValidatorDateTime.class.php 5581 2007-10-18 13:56:14Z fabien $ */
  3. class sfValidatorDateTime extends sfValidatorDate
  4. {
  5. /**
  6. * @see sfValidatorDate
  7. */
  8. protected function configure($options = array(), $messages = array())
  9. {
  10. parent::configure($options, $messages);
  11. $this->setOption('with_time', true);
  12. }
  13. }

Debug toolbar