You are here

protected property Subscriber::$usePathParameter 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::usePathParameter

Tells the Subscriber to append any subscription identifier to the path of the base Callback URL. E.g. an identifier "subkey1" would be added to the callback URL "http://www.example.com/callback" to create a subscription specific Callback URL of "http://www.example.com/callback/subkey1".

This is required for all Hubs using the Pubsubhubbub 0.1 Specification. It should be manually intercepted and passed to the Callback class using Zend\Feed\Pubsubhubbub\Subscriber\Callback::setSubscriptionKey(). Will require a route in the form "callback/:subkey" to allow the parameter be retrieved from an action using the Zend\Controller\Action::\getParam() method.

Type: string

File

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

Class

Subscriber

Namespace

Zend\Feed\PubSubHubbub

Code

protected $usePathParameter = false;