Mercurial > hg > isophonics-drupal-site
comparison vendor/zendframework/zend-feed/src/Reader/Extension/Podcast/Entry.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children | c2387f117808 |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
26 return $this->data['author']; | 26 return $this->data['author']; |
27 } | 27 } |
28 | 28 |
29 $author = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:author)'); | 29 $author = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:author)'); |
30 | 30 |
31 if (!$author) { | 31 if (! $author) { |
32 $author = null; | 32 $author = null; |
33 } | 33 } |
34 | 34 |
35 $this->data['author'] = $author; | 35 $this->data['author'] = $author; |
36 | 36 |
48 return $this->data['block']; | 48 return $this->data['block']; |
49 } | 49 } |
50 | 50 |
51 $block = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:block)'); | 51 $block = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:block)'); |
52 | 52 |
53 if (!$block) { | 53 if (! $block) { |
54 $block = null; | 54 $block = null; |
55 } | 55 } |
56 | 56 |
57 $this->data['block'] = $block; | 57 $this->data['block'] = $block; |
58 | 58 |
70 return $this->data['duration']; | 70 return $this->data['duration']; |
71 } | 71 } |
72 | 72 |
73 $duration = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:duration)'); | 73 $duration = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:duration)'); |
74 | 74 |
75 if (!$duration) { | 75 if (! $duration) { |
76 $duration = null; | 76 $duration = null; |
77 } | 77 } |
78 | 78 |
79 $this->data['duration'] = $duration; | 79 $this->data['duration'] = $duration; |
80 | 80 |
92 return $this->data['explicit']; | 92 return $this->data['explicit']; |
93 } | 93 } |
94 | 94 |
95 $explicit = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:explicit)'); | 95 $explicit = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:explicit)'); |
96 | 96 |
97 if (!$explicit) { | 97 if (! $explicit) { |
98 $explicit = null; | 98 $explicit = null; |
99 } | 99 } |
100 | 100 |
101 $this->data['explicit'] = $explicit; | 101 $this->data['explicit'] = $explicit; |
102 | 102 |
114 return $this->data['keywords']; | 114 return $this->data['keywords']; |
115 } | 115 } |
116 | 116 |
117 $keywords = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:keywords)'); | 117 $keywords = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:keywords)'); |
118 | 118 |
119 if (!$keywords) { | 119 if (! $keywords) { |
120 $keywords = null; | 120 $keywords = null; |
121 } | 121 } |
122 | 122 |
123 $this->data['keywords'] = $keywords; | 123 $this->data['keywords'] = $keywords; |
124 | 124 |
136 return $this->data['subtitle']; | 136 return $this->data['subtitle']; |
137 } | 137 } |
138 | 138 |
139 $subtitle = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:subtitle)'); | 139 $subtitle = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:subtitle)'); |
140 | 140 |
141 if (!$subtitle) { | 141 if (! $subtitle) { |
142 $subtitle = null; | 142 $subtitle = null; |
143 } | 143 } |
144 | 144 |
145 $this->data['subtitle'] = $subtitle; | 145 $this->data['subtitle'] = $subtitle; |
146 | 146 |
158 return $this->data['summary']; | 158 return $this->data['summary']; |
159 } | 159 } |
160 | 160 |
161 $summary = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:summary)'); | 161 $summary = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:summary)'); |
162 | 162 |
163 if (!$summary) { | 163 if (! $summary) { |
164 $summary = null; | 164 $summary = null; |
165 } | 165 } |
166 | 166 |
167 $this->data['summary'] = $summary; | 167 $this->data['summary'] = $summary; |
168 | 168 |