MINI
C:
/
php5.2.9
/
PEAR
/
symfony
/
lib
/
validator
/
Upload File:
files >> C:/php5.2.9/PEAR/symfony/lib/validator/sfValidatorChoiceMany.class.php
<?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); } }
Copyright ©2021 || Defacer Indonesia