1 | <?php |
||
19 | class StepItem extends AbstractFormzConfiguration |
||
20 | { |
||
21 | use StoreArrayIndexTrait; |
||
22 | |||
23 | /** |
||
24 | * @var int |
||
25 | * @validate IntegerValidator |
||
26 | * @validate Romm.Formz:PageExists |
||
27 | */ |
||
28 | protected $pageUid; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $extension; |
||
34 | |||
35 | /** |
||
36 | * @var string |
||
37 | */ |
||
38 | protected $controller; |
||
39 | |||
40 | /** |
||
41 | * @var string |
||
42 | * @validate NotEmpty |
||
43 | */ |
||
44 | protected $action; |
||
45 | |||
46 | /** |
||
47 | * Name of the step. By default, it is the key of this step in the array |
||
48 | * containing all the steps for the parent form. |
||
49 | * |
||
50 | * @var string |
||
51 | */ |
||
52 | private $name; |
||
53 | |||
54 | /** |
||
55 | * @return int |
||
56 | */ |
||
57 | public function getPageUid() |
||
61 | |||
62 | /** |
||
63 | * @return string |
||
64 | */ |
||
65 | public function getExtension() |
||
69 | |||
70 | /** |
||
71 | * @return string |
||
72 | */ |
||
73 | public function getController() |
||
77 | |||
78 | /** |
||
79 | * @return string |
||
80 | */ |
||
81 | public function getAction() |
||
85 | |||
86 | /** |
||
87 | * @return string |
||
88 | */ |
||
89 | public function getName() |
||
97 | |||
98 | /** |
||
99 | * @param string $name |
||
100 | */ |
||
101 | public function setName($name) |
||
105 | } |
||
106 |