category | Zend |
---|---|
package | Zend_Feed_Reader |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
addPrefixPath(string $prefix, string $path) : void
string
string
addPrefixPaths(array $spec) : void
array
arrayUnique(array $array) : array
array
detectType(\Zend_Feed_Abstract|\DOMDocument|string $feed, boolean $specOnly = false
) : string
\Zend_Feed_Abstract
\DOMDocument
string
boolean
\Zend_Feed_Exception |
---|
string
findFeedLinks($uri)
getCache() : \Zend_Cache_Core
\Zend_Cache_Core
getExtensions() : array
array
getHttpClient() : \Zend_Http_Client_Abstract
\Zend_Http_Client_Abstract
getHttpMethodOverride() : boolean
boolean
getPluginLoader() : \Zend_Loader_PluginLoader_Interface
\Zend_Loader_PluginLoader_Interface
$loaderimport($uri, string $etag= null
, string $lastModified= null
) : \Zend_Feed_Reader_FeedInterface
string
OPTIONAL Last received ETag for this resource
string
OPTIONAL Last-Modified value for this resource
\Zend_Feed_Reader_FeedInterface
importFeed(\Zend_Feed_Abstract $feed) : \Zend_Feed_Reader_FeedInterface
\Zend_Feed_Abstract
A fully instantiated Zend_Feed object
\Zend_Feed_Reader_FeedInterface
importFile(string $filename) : \Zend_Feed_Reader_FeedInterface
string
\Zend_Feed_Exception |
---|
\Zend_Feed_Reader_FeedInterface
importString(string $string) : \Zend_Feed_Reader_FeedInterface
string
\Zend_Feed_Reader_FeedInterface
isRegistered(string $extensionName) : boolean
string
boolean
registerExtension(string $name) : void
string
\Zend_Feed_Exception |
if unable to resolve Extension class |
---|
reset() : void
setCache(\Zend_Cache_Core $cache) : void
\Zend_Cache_Core
setHttpClient(\Zend_Http_Client $httpClient) : void
Sets the HTTP client object to use for retrieving the feeds.
\Zend_Http_Client
setHttpMethodOverride(boolean $override = true
) : void
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.
boolean
Whether to override PUT and DELETE.
setPluginLoader(\Zend_Loader_PluginLoader_Interface $loader)
\Zend_Loader_PluginLoader_Interface
useHttpConditionalGet(boolean $bool = true
) : void
boolean
_registerCoreExtensions() : void
$_cache : \Zend_Cache_Core
null
$_extensions
array('feed' => array('DublinCore_Feed', 'Atom_Feed'), 'entry' => array('Content_Entry', 'DublinCore_Entry', 'Atom_Entry'), 'core' => array('DublinCore_Feed', 'Atom_Feed', 'Content_Entry', 'DublinCore_Entry', 'Atom_Entry'))
$_httpClient : \Zend_Http_Client
null
$_httpConditionalGet
false
$_httpMethodOverride : boolean
false
$_pluginLoader
null
$_prefixPaths
array()
NAMESPACE_ATOM_03 = 'http://purl.org/atom/ns#'
NAMESPACE_ATOM_10 = 'http://www.w3.org/2005/Atom'
NAMESPACE_RDF = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
NAMESPACE_RSS_090 = 'http://my.netscape.com/rdf/simple/0.9/'
NAMESPACE_RSS_10 = 'http://purl.org/rss/1.0/'
TYPE_ANY = 'any'
TYPE_ATOM_03 = 'atom-03'
TYPE_ATOM_10 = 'atom-10'
TYPE_ATOM_10_ENTRY = 'atom-10-entry'
TYPE_ATOM_ANY = 'atom'
TYPE_RSS_090 = 'rss-090'
TYPE_RSS_091 = 'rss-091'
TYPE_RSS_091_NETSCAPE = 'rss-091n'
TYPE_RSS_091_USERLAND = 'rss-091u'
TYPE_RSS_092 = 'rss-092'
TYPE_RSS_093 = 'rss-093'
TYPE_RSS_094 = 'rss-094'
TYPE_RSS_10 = 'rss-10'
TYPE_RSS_20 = 'rss-20'
TYPE_RSS_ANY = 'rss'