| @@ 200-209 (lines=10) @@ | ||
| 197 | * @param string $value |
|
| 198 | * @return string |
|
| 199 | */ |
|
| 200 | protected function getYmlParamTag($attribute, $value) |
|
| 201 | { |
|
| 202 | if ($value === null) { |
|
| 203 | return ''; |
|
| 204 | } |
|
| 205 | ||
| 206 | $string = '<param name="' . $attribute . '">' . $value . '</param>' . PHP_EOL; |
|
| 207 | ||
| 208 | return $string; |
|
| 209 | } |
|
| 210 | ||
| 211 | /** |
|
| 212 | * @param string $value |
|
| @@ 215-224 (lines=10) @@ | ||
| 212 | * @param string $value |
|
| 213 | * @return string |
|
| 214 | */ |
|
| 215 | protected function getYmlPictureTag($value) |
|
| 216 | { |
|
| 217 | if ($value === null) { |
|
| 218 | return ''; |
|
| 219 | } |
|
| 220 | ||
| 221 | $string = '<picture>' . $value . '</picture>' . PHP_EOL; |
|
| 222 | ||
| 223 | return $string; |
|
| 224 | } |
|
| 225 | } |
|
| 226 | ||