1 | <?php |
||
25 | class CreatePage extends BaseCreatePage implements CreatePageInterface |
||
26 | { |
||
27 | use NamesIt; |
||
28 | use SpecifiesItsCode; |
||
29 | |||
30 | /** |
||
31 | * {@inheritdoc} |
||
32 | */ |
||
33 | public function addRule($ruleName) |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function selectRuleOption($option, $value, $multiple = false) |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | public function fillRuleOption($option, $value) |
||
61 | |||
62 | /** |
||
63 | * {@inheritdoc} |
||
64 | */ |
||
65 | public function addAction($actionName) |
||
77 | |||
78 | /** |
||
79 | * {@inheritdoc} |
||
80 | */ |
||
81 | public function selectActionOption($option, $value, $multiple = false) |
||
85 | |||
86 | /** |
||
87 | * {@inheritdoc} |
||
88 | */ |
||
89 | public function fillActionOption($option, $value) |
||
93 | |||
94 | /** |
||
95 | * {@inheritdoc} |
||
96 | */ |
||
97 | public function fillUsageLimit($limit) |
||
101 | |||
102 | public function makeExclusive() |
||
106 | |||
107 | public function checkCouponBased() |
||
111 | |||
112 | public function checkChannel($name) |
||
116 | |||
117 | /** |
||
118 | * {@inheritdoc} |
||
119 | */ |
||
120 | public function setStartsAt(\DateTime $dateTime) |
||
127 | |||
128 | /** |
||
129 | * {@inheritdoc} |
||
130 | */ |
||
131 | public function setEndsAt(\DateTime $dateTime) |
||
138 | |||
139 | /** |
||
140 | * {@inheritdoc} |
||
141 | */ |
||
142 | public function getValidationMessageForAction() |
||
153 | |||
154 | /** |
||
155 | * {@inheritdoc} |
||
156 | */ |
||
157 | public function selectFilterOption($option, $value, $multiple = false) |
||
161 | |||
162 | /** |
||
163 | * {@inheritdoc} |
||
164 | */ |
||
165 | protected function getDefinedElements() |
||
178 | |||
179 | /** |
||
180 | * @param string $collection |
||
181 | * |
||
182 | * @return NodeElement |
||
183 | */ |
||
184 | private function getLastCollectionItem($collection) |
||
192 | |||
193 | /** |
||
194 | * @param string $collection |
||
195 | * |
||
196 | * @return NodeElement[] |
||
197 | */ |
||
198 | private function getCollectionItems($collection) |
||
206 | } |
||
207 |