Development

/branches/1.2/lib/plugins/sfDoctrinePlugin/lib/widget/sfWidgetFormDoctrineSelectMany.class.php

You must first sign up to be able to contribute.

root/branches/1.2/lib/plugins/sfDoctrinePlugin/lib/widget/sfWidgetFormDoctrineSelectMany.class.php

Revision 11629, 1.0 kB (checked in by Jonathan.Wage, 6 years ago)

[1.2] phpDoc updates

Line 
1 <?php
2
3 /*
4  * This file is part of the symfony package.
5  * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
6  * (c) Jonathan H. Wage <jonwage@gmail.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 /**
13  * sfWidgetFormDoctrineSelectMany represents a select HTML tag for a model where you can select multiple values.
14  *
15  * @package    symfony
16  * @subpackage doctrine
17  * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
18  * @author     Jonathan H. Wage <jonwage@gmail.com>
19  * @version    SVN: $Id: sfWidgetFormDoctrineSelectMany.class.php 7147 2008-01-22 11:11:01Z fabien $
20  */
21 class sfWidgetFormDoctrineSelectMany extends sfWidgetFormDoctrineSelect
22 {
23   /**
24    * Constructor.
25    *
26    * @see sfWidgetFormDoctrineSelect
27    */
28   protected function configure($options = array(), $attributes = array())
29   {
30     parent::configure($options, $attributes);
31
32     $this->setOption('multiple', true);
33   }
34 }
Note: See TracBrowser for help on using the browser.