1 | <?php |
||
9 | class EditFieldCommand |
||
10 | { |
||
11 | /** |
||
12 | * The field Id |
||
13 | * @var |
||
14 | */ |
||
15 | public $id; |
||
16 | |||
17 | /** |
||
18 | * the field name |
||
19 | * @var |
||
20 | */ |
||
21 | public $name; |
||
22 | |||
23 | /** |
||
24 | * The field description |
||
25 | * @var |
||
26 | */ |
||
27 | public $description; |
||
28 | |||
29 | /** |
||
30 | * the field Slug |
||
31 | * @var |
||
32 | */ |
||
33 | public $slug; |
||
34 | |||
35 | /** |
||
36 | * is the field locked? meaning cant be removed |
||
37 | * @var |
||
38 | */ |
||
39 | public $locked; |
||
40 | |||
41 | /** |
||
42 | * what is the fieldtype |
||
43 | * @var |
||
44 | */ |
||
45 | public $type; |
||
46 | |||
47 | /** |
||
48 | * is the field required? |
||
49 | * @var |
||
50 | */ |
||
51 | public $required; |
||
52 | |||
53 | /** |
||
54 | * The field options |
||
55 | * @var |
||
56 | */ |
||
57 | public $options; |
||
58 | |||
59 | /** |
||
60 | * The field default value |
||
61 | * @var |
||
62 | */ |
||
63 | public $default; |
||
64 | |||
65 | |||
66 | /** |
||
67 | * @param $id |
||
68 | * @param string $name |
||
69 | * @param string $description |
||
70 | * @param bool $required |
||
71 | * @param array $options |
||
72 | * @param null $default |
||
73 | */ |
||
74 | public function __construct( |
||
89 | } |
||
90 |