12345678910111213141516171819202122232425262728293031323334 |
- <?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.
- */
- /**
- * sfWidgetFormChoice represents a choice widget where you can select multiple values.
- *
- * @package symfony
- * @subpackage widget
- * @author Fabien Potencier <fabien.potencier@symfony-project.com>
- * @version SVN: $Id: sfWidgetFormChoiceMany.class.php 11539 2008-09-14 15:23:48Z fabien $
- */
- class sfWidgetFormChoiceMany extends sfWidgetFormChoice
- {
- /**
- * @param array $options An array of options
- * @param array $attributes An array of default HTML attributes
- *
- * @see sfWidgetFormChoice
- */
- protected function configure($options = array(), $attributes = array())
- {
- parent::configure($options, $attributes);
- $this->setOption('multiple', true);
- }
- }
|