@@ 107-113 (lines=7) @@ | ||
104 | return "\t\t".'<video:restriction relationship="'.$relationship.'">'.$this->escape(implode(' ', $restrictions['countries'])).'</video:restriction>'."\n"; |
|
105 | } |
|
106 | ||
107 | protected function checkVideoGalleryLoc($video) |
|
108 | { |
|
109 | $galleryLoc = $video->getGalleryLoc(); |
|
110 | $title = $galleryLoc['title'] !== null ? sprintf(' title="%s"', $this->escape($galleryLoc['title'])) : ''; |
|
111 | ||
112 | return "\t\t".sprintf('<video:gallery_loc%s>', $title).$this->escape($galleryLoc['loc']).'</video:gallery_loc>'."\n"; |
|
113 | } |
|
114 | ||
115 | protected function checkVideoUploader($video) |
|
116 | { |
|
@@ 115-121 (lines=7) @@ | ||
112 | return "\t\t".sprintf('<video:gallery_loc%s>', $title).$this->escape($galleryLoc['loc']).'</video:gallery_loc>'."\n"; |
|
113 | } |
|
114 | ||
115 | protected function checkVideoUploader($video) |
|
116 | { |
|
117 | $uploader = $video->getUploader(); |
|
118 | $info = $uploader['info'] !== null ? sprintf(' info="%s"', $this->escape($uploader['info'])) : ''; |
|
119 | ||
120 | return "\t\t".sprintf('<video:uploader%s>', $info).$this->escape($uploader['name']).'</video:uploader>'."\n"; |
|
121 | } |
|
122 | ||
123 | protected function checkVideoPlatforms($video) |
|
124 | { |