public function Publisher::addUpdatedTopicUrl in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/zendframework/zend-feed/src/PubSubHubbub/Publisher.php \Zend\Feed\PubSubHubbub\Publisher::addUpdatedTopicUrl()
Add a URL to a topic (Atom or RSS feed) which has been updated
Parameters
string $url:
Return value
Throws
Exception\InvalidArgumentException
1 call to Publisher::addUpdatedTopicUrl()
- Publisher::addUpdatedTopicUrls in vendor/
zendframework/ zend-feed/ src/ PubSubHubbub/ Publisher.php - Add an array of Topic URLs which have been updated
File
- vendor/
zendframework/ zend-feed/ src/ PubSubHubbub/ Publisher.php, line 160
Class
Namespace
Zend\Feed\PubSubHubbubCode
public function addUpdatedTopicUrl($url) {
if (empty($url) || !is_string($url) || !Uri::factory($url)
->isValid()) {
throw new Exception\InvalidArgumentException('Invalid parameter "url"' . ' of "' . $url . '" must be a non-empty string and a valid' . 'URL');
}
$this->updatedTopicUrls[] = $url;
return $this;
}