1 <?php
2 /**
3 * SelectInput.php
4 *
5 * @author Elvyrra SAS
6 * @license http://rem.mit-license.org/ MIT
7 */
8
9 namespace Hawk;
10
11 /**
12 * This class describes the behavior of select inputs
13 *
14 * @package Form\Input
15 */
16 class SelectInput extends FormInput{
17 const TYPE = 'select';
18
19 /**
20 * The value considered as the empty one (default '')
21 *
22 * @var string
23 */
24 public $emptyValue = '',
25
26 /**
27 * If set, the select will display a first option, with this property as label, and the $emptyValue as option value
28 *
29 * @var string
30 */
31 $invitation = null,
32
33 /**
34 * The 'size' attribute
35 *
36 * @var int
37 */
38 $size = 0,
39
40 /**
41 * The 'multiple' attribute
42 *
43 * @var boolean
44 */
45 $multiple = false;
46
47 }
48