@@ 178-180 (lines=3) @@ | ||
175 | ||
176 | $buffer .= "\t\t".'<image:loc>'.$this->escape($image->getLoc()).'</image:loc>'."\n"; |
|
177 | ||
178 | if ($image->getCaption() !== null) { |
|
179 | $buffer .= "\t\t".'<image:caption>'.$this->escape($image->getCaption()).'</image:caption>'."\n"; |
|
180 | } |
|
181 | ||
182 | if ($image->getGeoLocation() !== null) { |
|
183 | $buffer .= "\t\t".'<image:geo_location>'.$this->escape($image->getGeoLocation()).'</image:geo_location>'."\n"; |
|
@@ 182-184 (lines=3) @@ | ||
179 | $buffer .= "\t\t".'<image:caption>'.$this->escape($image->getCaption()).'</image:caption>'."\n"; |
|
180 | } |
|
181 | ||
182 | if ($image->getGeoLocation() !== null) { |
|
183 | $buffer .= "\t\t".'<image:geo_location>'.$this->escape($image->getGeoLocation()).'</image:geo_location>'."\n"; |
|
184 | } |
|
185 | ||
186 | if ($image->getTitle() !== null) { |
|
187 | $buffer .= "\t\t".'<image:title>'.$this->escape($image->getTitle()).'</image:title>'."\n"; |
|
@@ 186-188 (lines=3) @@ | ||
183 | $buffer .= "\t\t".'<image:geo_location>'.$this->escape($image->getGeoLocation()).'</image:geo_location>'."\n"; |
|
184 | } |
|
185 | ||
186 | if ($image->getTitle() !== null) { |
|
187 | $buffer .= "\t\t".'<image:title>'.$this->escape($image->getTitle()).'</image:title>'."\n"; |
|
188 | } |
|
189 | ||
190 | if ($image->getLicense() !== null) { |
|
191 | $buffer .= "\t\t".'<image:license>'.$this->escape($image->getLicense()).'</image:license>'."\n"; |
|
@@ 190-192 (lines=3) @@ | ||
187 | $buffer .= "\t\t".'<image:title>'.$this->escape($image->getTitle()).'</image:title>'."\n"; |
|
188 | } |
|
189 | ||
190 | if ($image->getLicense() !== null) { |
|
191 | $buffer .= "\t\t".'<image:license>'.$this->escape($image->getLicense()).'</image:license>'."\n"; |
|
192 | } |
|
193 | ||
194 | return $buffer."\t".'</image:image>'."\n"; |
|
195 | } |