Constructor; accepts an array or Zend_Config instance to preset options for the Publisher without calling all supported setter methods in turn.
| Parameters: | array|Traversable – |
|---|
Process any injected configuration options
| Parameters: | array|Traversable – Options array or Traversable object |
|---|---|
| Return type: | Publisher |
| Throws : | ExceptionInvalidArgumentException |
Add a Hub Server URL supported by Publisher
| Parameters: | string – |
|---|---|
| Return type: | Publisher |
| Throws : | ExceptionInvalidArgumentException |
Add an array of Hub Server URLs supported by Publisher
| Parameters: | array – |
|---|---|
| Return type: | Publisher |
Remove a Hub Server URL
| Parameters: | string – |
|---|---|
| Return type: | Publisher |
Return an array of unique Hub Server URLs currently available
| Return type: | array |
|---|
Add a URL to a topic (Atom or RSS feed) which has been updated
| Parameters: | string – |
|---|---|
| Return type: | Publisher |
| Throws : | ExceptionInvalidArgumentException |
Add an array of Topic URLs which have been updated
| Parameters: | array – |
|---|---|
| Return type: | Publisher |
Remove an updated topic URL
| Parameters: | string – |
|---|---|
| Return type: | Publisher |
Return an array of unique updated topic URLs currently available
| Return type: | array |
|---|
Notifies a single Hub Server URL of changes
| Parameters: | string – The Hub Server’s URL |
|---|---|
| Return type: | void |
| Throws : | ExceptionInvalidArgumentException |
| Throws : | ExceptionRuntimeException |
Notifies all Hub Server URLs of changes
If a Hub notification fails, certain data will be retained in an an array retrieved using getErrors(), if a failure occurs for any Hubs the isSuccess() check will return FALSE. This method is designed not to needlessly fail with an Exception/Error unless from Zend_Http_Client.
| Return type: | void |
|---|---|
| Throws : | ExceptionRuntimeException |
Add an optional parameter to the update notification requests
| Parameters: |
|
|---|---|
| Return type: | Publisher |
| Throws : | ExceptionInvalidArgumentException |
Add an optional parameter to the update notification requests
| Parameters: | array – |
|---|---|
| Return type: | Publisher |
Remove an optional parameter for the notification requests
| Parameters: | string – |
|---|---|
| Return type: | Publisher |
| Throws : | ExceptionInvalidArgumentException |
Return an array of optional parameters for notification requests
| Return type: | array |
|---|
Returns a boolean indicator of whether the notifications to Hub Servers were ALL successful. If even one failed, FALSE is returned.
| Return type: | bool |
|---|