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.
NAMESPACE_ATOM_03 = 'http://purl.org/atom/ns#'
Namespace constants
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'
Feed type constants
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'
Zend_Cache_Core $_cache = 'null'
Cache instance
$_extensions = 'array'
Zend_Http_Client $_httpClient = 'null'
HTTP client object to use for retrieving feeds
$_httpConditionalGet = 'false'
boolean $_httpMethodOverride = 'false'
Override HTTP PUT and DELETE request methods?
$_pluginLoader = 'null'
$_prefixPaths = 'array'
_registerCoreExtensions(
)
:
void
Register core (default) extensions
addPrefixPath(
string $prefix, string $path
)
:
void
Add prefix path for loading Extensions
addPrefixPaths(
array $spec
)
:
void
Add multiple Extension prefix paths at once
arrayUnique(
$array
)
:
array
Utility method to apply array_unique operation to a multidimensional array.
detectType(
Zend_Feed_Abstract|DOMDocument|string $feed, $specOnly
=
false
)
:
string
Detect the feed type of the provided feed
findFeedLinks(
$uri
)
:
getCache(
)
:
Zend_Cache_Core
Get the Feed cache
getExtensions(
)
:
array
Get a list of extensions
getHttpClient(
)
:
Zend_Http_Client_Abstract
Gets the HTTP client object. If none is set, a new Zend_Http_Client will be used.
getHttpMethodOverride(
)
:
boolean
Get the HTTP override state
getPluginLoader(
)
:
Zend_Loader_PluginLoader_Interface
Get plugin loader for use with Extensions
import(
$uri, string $etag
=
null, string $lastModified
=
null
)
:
Zend_Feed_Reader_FeedInterface
Import a feed by providing a URL
importFeed(
Zend_Feed_Abstract $feed
)
:
Zend_Feed_Reader_FeedInterface
Import a feed by providing a Zend_Feed_Abstract object
importFile(
string $filename
)
:
Zend_Feed_Reader_FeedInterface
Imports a feed from a file located at $filename.
importString(
string $string
)
:
Zend_Feed_Reader_FeedInterface
Import a feed froma string
isRegistered(
string $extensionName
)
:
boolean
Is a given named Extension registered?
registerExtension(
string $name
)
:
void
Register an Extension by name
reset(
)
:
void
Reset class state to defaults
setCache(
Zend_Cache_Core $cache
)
:
void
Set the feed cache
setHttpClient(
Zend_Http_Client $httpClient
)
:
void
Set the HTTP client instance
Sets the HTTP client object to use for retrieving the feeds.
setHttpMethodOverride(
boolean $override
=
true
)
:
void
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.
setPluginLoader(
Zend_Loader_PluginLoader_Interface $loader
)
:
Set plugin loader for use with Extensions
useHttpConditionalGet(
bool $bool
=
true
)
:
void
Set the flag indicating whether or not to use HTTP conditional GET