Zend Framework
3.0
|
Static Public Member Functions | |
static | import ($uri, $etag=null, $lastModified=null) |
Import a feed by providing a URI. | |
static | importRemoteFeed ($uri, Http\ClientInterface $client) |
Import a feed from a remote URI. | |
static | importString ($string) |
Import a feed from a string. | |
static | importFile ($filename) |
Imports a feed from a file located at $filename. | |
|
static |
|
static |
|
static |
Import a feed from a remote URI.
Performs similarly to import(), except it uses the HTTP client passed to the method, and does not take into account cached data.
Primary purpose is to make it possible to use the Reader with alternate HTTP client implementations.
string | $uri | |
Http\ClientInterface | $client |
Exception\RuntimeException | if response is not an Http |
Implemented in Reader.