1 | <?php |
||
24 | class UpdatePage extends BaseUpdatePage implements UpdatePageInterface |
||
25 | { |
||
26 | use ChecksCodeImmutability; |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | public function chooseParent(TaxonInterface $taxon) |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function describeItAs($description, $languageCode) |
||
43 | |||
44 | /** |
||
45 | * {@inheritdoc} |
||
46 | */ |
||
47 | public function nameIt($name, $languageCode) |
||
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | public function specifyPermalink($permalink, $languageCode) |
||
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | public function attachImage($path, $code = null) |
||
76 | |||
77 | /** |
||
78 | * {@inheritdoc} |
||
79 | */ |
||
80 | public function isImageWithCodeDisplayed($code) |
||
95 | |||
96 | /** |
||
97 | * {@inheritdoc} |
||
98 | */ |
||
99 | public function removeImageWithCode($code) |
||
104 | |||
105 | public function removeFirstImage() |
||
110 | |||
111 | /** |
||
112 | * {@inheritdoc} |
||
113 | */ |
||
114 | public function countImages() |
||
120 | |||
121 | /** |
||
122 | * {@inheritdoc} |
||
123 | */ |
||
124 | public function changeImageWithCode($code, $path) |
||
131 | |||
132 | /** |
||
133 | * {@inheritdoc} |
||
134 | */ |
||
135 | public function getValidationMessageForImage() |
||
146 | |||
147 | /** |
||
148 | * {@inheritdoc} |
||
149 | */ |
||
150 | public function getValidationMessageForImageAtPlace($place) { |
||
161 | |||
162 | /** |
||
163 | * @return bool |
||
164 | */ |
||
165 | public function isImageCodeDisabled() |
||
169 | |||
170 | /** |
||
171 | * @return NodeElement |
||
172 | */ |
||
173 | protected function getCodeElement() |
||
177 | |||
178 | /** |
||
179 | * {@inheritdoc} |
||
180 | */ |
||
181 | protected function getDefinedElements() |
||
192 | |||
193 | /** |
||
194 | * @return NodeElement |
||
195 | */ |
||
196 | private function getLastImageElement() |
||
204 | |||
205 | /** |
||
206 | * @return NodeElement |
||
207 | */ |
||
208 | private function getFirstImageElement() |
||
214 | |||
215 | /** |
||
216 | * @return NodeElement[] |
||
217 | */ |
||
218 | private function getImageElements() |
||
224 | |||
225 | /** |
||
226 | * @param string $code |
||
227 | * |
||
228 | * @return NodeElement |
||
229 | */ |
||
230 | private function getImageElementByCode($code) |
||
241 | } |
||
242 |