public function PuSHSubscriber::subscription in Feeds 8.2
Get the subscription associated with this subscriber.
Return value
A PuSHSubscriptionInterface object if a subscription exist, NULL otherwise.
4 calls to PuSHSubscriber::subscription()
- PuSHSubscriber::receive in lib/
Drupal/ feeds/ PuSHSubscriber.php - Receive a notification.
- PuSHSubscriber::subscribed in lib/
Drupal/ feeds/ PuSHSubscriber.php - Determine whether this subscriber is successfully subscribed or not.
- PuSHSubscriber::unsubscribe in lib/
Drupal/ feeds/ PuSHSubscriber.php - @todo Unsubscribe from a hub. @todo Make sure we unsubscribe with the correct topic URL as it can differ from the initial subscription URL.
- PuSHSubscriber::verifyRequest in lib/
Drupal/ feeds/ PuSHSubscriber.php - Verify a request. After a hub has received a subscribe or unsubscribe request (see PuSHSubscriber::request()) it sends back a challenge verifying that an action indeed was requested ($_GET['hub_challenge']). This method handles the challenge.
File
- lib/
Drupal/ feeds/ PuSHSubscriber.php, line 286 - Pubsubhubbub subscriber library.
Class
- PuSHSubscriber
- PubSubHubbub subscriber.
Namespace
Drupal\feedsCode
public function subscription() {
return call_user_func(array(
$this->subscription_class,
'load',
), $this->domain, $this->subscriber_id);
}