You are here

public function PuSHSubscription::__construct in Feeds 7

Same name and namespace in other branches
  1. 6 plugins/FeedsHTTPFetcher.inc \PuSHSubscription::__construct()
  2. 7.2 plugins/FeedsHTTPFetcher.inc \PuSHSubscription::__construct()

Create a subscription.

Overrides PuSHSubscriptionInterface::__construct

File

plugins/FeedsHTTPFetcher.inc, line 237

Class

PuSHSubscription
Implement a PuSHSubscriptionInterface.

Code

public function __construct($domain, $subscriber_id, $hub, $topic, $secret, $status = '', $post_fields = '') {
  $this->domain = $domain;
  $this->subscriber_id = $subscriber_id;
  $this->hub = $hub;
  $this->topic = $topic;
  $this->status = $status;
  $this->secret = $secret;
  $this->post_fields = $post_fields;
}