1. sfWidgetFormSelectMany.class.php
  2. /** * sfWidgetFormSelectMany represents a select HTML tag where you can select multiple values. * * @package symfony * @subpackage widget * @author Fabien Potencier * @version SVN: $Id: sfWidgetFormSelectMany.class.php 9046 2008-05-19 08:13:51Z FabianLange $ */
  3. class sfWidgetFormSelectMany extends sfWidgetFormSelect
  4. {
  5. /**
  6. * @param array $options An array of options
  7. * @param array $attributes An array of default HTML attributes
  8. *
  9. * @see sfWidgetFormSelect
  10. */
  11. protected function configure($options = array(), $attributes = array())
  12. {
  13. parent::configure($options, $attributes);
  14. $this->setOption('multiple', true);
  15. }
  16. }

Debug toolbar