comparison vendor/zendframework/zend-feed/src/Reader/Extension/Podcast/Entry.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents 5311817fb629
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
128 128
129 return $this->data['keywords']; 129 return $this->data['keywords'];
130 } 130 }
131 131
132 /** 132 /**
133 * Get the entry title
134 *
135 * @return string
136 */
137 public function getTitle()
138 {
139 if (isset($this->data['title'])) {
140 return $this->data['title'];
141 }
142
143 $title = $this->xpath->evaluate('string(' . $this->getXpathPrefix() . '/itunes:title)');
144
145 if (! $title) {
146 $title = null;
147 }
148
149 $this->data['title'] = $title;
150
151 return $this->data['title'];
152 }
153
154 /**
133 * Get the entry subtitle 155 * Get the entry subtitle
134 * 156 *
135 * @return string 157 * @return string
136 */ 158 */
137 public function getSubtitle() 159 public function getSubtitle()