123456789101112131415161718192021222324252627282930313233 |
- <?php
- /*
- * This file is part of the symfony package.
- * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
- /**
- * sfValidatorChoiceMany validates than an array of values is in the array of the expected values.
- *
- * @package symfony
- * @subpackage validator
- * @author Fabien Potencier <fabien.potencier@symfony-project.com>
- * @version SVN: $Id: sfValidatorChoiceMany.class.php 11668 2008-09-19 14:02:36Z fabien $
- */
- class sfValidatorChoiceMany extends sfValidatorChoice
- {
- /**
- * Configures the current validator.
- *
- * @see sfValidatorChoice
- */
- protected function configure($options = array(), $messages = array())
- {
- parent::configure($options, $messages);
- $this->setOption('multiple', true);
- }
- }
|