1 | <?php |
||
23 | class Step extends AbstractFormzConfiguration implements DataPreProcessorInterface |
||
24 | { |
||
25 | use ParentsTrait; |
||
26 | use StoreArrayIndexTrait; |
||
27 | |||
28 | /** |
||
29 | * @var int |
||
30 | * @validate IntegerValidator |
||
31 | * @validate Romm.Formz:PageExists |
||
32 | */ |
||
33 | protected $pageUid; |
||
34 | |||
35 | /** |
||
36 | * @var string |
||
37 | */ |
||
38 | protected $extension; |
||
39 | |||
40 | /** |
||
41 | * @var string |
||
42 | */ |
||
43 | protected $controller; |
||
44 | |||
45 | /** |
||
46 | * @var string |
||
47 | * @validate NotEmpty |
||
48 | */ |
||
49 | protected $action; |
||
50 | |||
51 | /** |
||
52 | * @var \Romm\Formz\Configuration\Form\Step\Step\SupportedField[] |
||
53 | */ |
||
54 | protected $supportedFields; |
||
55 | |||
56 | /** |
||
57 | * @return string |
||
58 | */ |
||
59 | public function getName() |
||
63 | |||
64 | /** |
||
65 | * @return int |
||
66 | */ |
||
67 | public function getPageUid() |
||
71 | |||
72 | /** |
||
73 | * @return string |
||
74 | */ |
||
75 | public function getExtension() |
||
79 | |||
80 | /** |
||
81 | * @return string |
||
82 | */ |
||
83 | public function getController() |
||
87 | |||
88 | /** |
||
89 | * @return string |
||
90 | */ |
||
91 | public function getAction() |
||
95 | |||
96 | /** |
||
97 | * @return SupportedField[] |
||
98 | */ |
||
99 | public function getSupportedFields() |
||
103 | |||
104 | /** |
||
105 | * @param Field $field |
||
106 | * @return bool |
||
107 | */ |
||
108 | public function supportsField(Field $field) |
||
118 | |||
119 | /** |
||
120 | * @todo |
||
121 | * |
||
122 | * @param DataPreProcessor $processor |
||
123 | */ |
||
124 | public static function dataPreProcessor(DataPreProcessor $processor) |
||
145 | } |
||
146 |