You are here

public function Subscriber::getTopicUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/PubSubHubbub/Subscriber.php \Zend\Feed\PubSubHubbub\Subscriber::getTopicUrl()

Set the topic URL (RSS or Atom feed) to which the intended (un)subscribe event will relate

Return value

string

Throws

Exception\RuntimeException

1 call to Subscriber::getTopicUrl()
Subscriber::_getRequestParameters in vendor/zendframework/zend-feed/src/PubSubHubbub/Subscriber.php
Return a list of standard protocol/optional parameters for addition to client's POST body that are specific to the current Hub Server URL

File

vendor/zendframework/zend-feed/src/PubSubHubbub/Subscriber.php, line 212

Class

Subscriber

Namespace

Zend\Feed\PubSubHubbub

Code

public function getTopicUrl() {
  if (empty($this->topicUrl)) {
    throw new Exception\RuntimeException('A valid Topic (RSS or Atom' . ' feed) URL MUST be set before attempting any operation');
  }
  return $this->topicUrl;
}