Feed/Pubsubhubbub/CallbackAbstract.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Feed_Pubsubhubbub
- Subpackage
- Callback
- Version
- $Id$
\Zend_Feed_Pubsubhubbub_CallbackAbstract
Package: Zend_Feed_Pubsubhubbub\Callback- Implements
- Children
- \Zend_Feed_Pubsubhubbub_Subscriber_Callback
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
int $_subscriberCount = 1
The number of Subscribers for which any updates are on behalf of.
Default value1
Details- Type
- int
Methods
__construct( $config = null) : void
Constructor; accepts an array or Zend_Config instance to preset
options for the Subscriber without calling all supported setter
methods in turn.
ParametersName | Type | Description |
---|
$config | | |
---|
_getHeader(string $header) : void
Retrieve a Header value from either $_SERVER or Apache
ParametersName | Type | Description |
---|
$header | string | |
---|
_getRawBody() : string | false
Return the raw body of the request
ReturnsType | Description |
---|
string | false | Raw body, or false if not present |
getSubscriberCount() : int
Gets the number of Subscribers for which any updates are on behalf of.
In other words, is this class serving one or more subscribers? How many?
ReturnssendResponse() : void
Send the response, including all headers.
If you wish to handle this via Zend_Controller, use the getter methods
to retrieve any data needed to be set on your HTTP Response object, or
simply give this object the HTTP Response instance to work with for you!
setSubscriberCount(string | int $count) : \Zend_Feed_Pubsubhubbub_CallbackAbstract
Sets the number of Subscribers for which any updates are on behalf of.
In other words, is this class serving one or more subscribers? How many?
Defaults to 1 if left unchanged.
ParametersName | Type | Description |
---|
$count | string | int | |
---|
Returns