Set the HTTP client instance
Sets the HTTP client object to use for retrieving the feeds.
| Parameters: | ZendHttpClient – |
|---|---|
| Return type: | void |
Gets the HTTP client object. If none is set, a new ZendHttpClient will be used.
| Return type: | ZendHttpClient |
|---|
Toggle using POST instead of PUT and DELETE HTTP methods
Some feed implementations do not accept PUT and DELETE HTTP methods, or they can’t be used because of proxies or other measures. This allows turning on using POST where PUT and DELETE would normally be used; in addition, an X-Method-Override header will be sent with a value of PUT or DELETE as appropriate.
| Parameters: | bool – Whether to override PUT and DELETE. |
|---|---|
| Return type: | void |
Get the HTTP override state
| Return type: | bool |
|---|
Set the flag indicating whether or not to use HTTP conditional GET
| Parameters: | bool – |
|---|---|
| Return type: | void |
Import a feed by providing a URI
| Parameters: |
|
|---|---|
| Return type: | FeedFeedInterface |
| Throws : | ExceptionRuntimeException |
Import a feed from a string
| Parameters: | string – |
|---|---|
| Return type: | FeedFeedInterface |
| Throws : | ExceptionInvalidArgumentException |
| Throws : | ExceptionRuntimeException |
Imports a feed from a file located at $filename.
| Parameters: | string – |
|---|---|
| Throws ExceptionRuntimeException: | |
| Return type: | FeedFeedInterface |
Find feed links
| Parameters: | $uri – |
|---|---|
| Return type: | FeedSet |
| Throws : | ExceptionRuntimeException |
Detect the feed type of the provided feed
| Parameters: |
|
|---|---|
| Return type: | string |
| Throws : | ExceptionInvalidArgumentException |
| Throws : | ExceptionRuntimeException |
Set plugin manager for use with Extensions
| Parameters: | ExtensionManager – |
|---|
Get plugin manager for use with Extensions
| Return type: | ExtensionManager |
|---|
Register an Extension by name
| Parameters: | string – |
|---|---|
| Return type: | void |
| Throws : | ExceptionRuntimeException if unable to resolve Extension class |
Is a given named Extension registered?
| Parameters: | string – |
|---|---|
| Return type: | bool |
Reset class state to defaults
| Return type: | void |
|---|
Namespace constants
Feed type constants