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
Details NAMESPACE_ATOM_10 = 'http://www.w3.org/2005/Atom'
Details NAMESPACE_RDF = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
Details NAMESPACE_RSS_090 = 'http://my.netscape.com/rdf/simple/0.9/'
Details NAMESPACE_RSS_10 = 'http://purl.org/rss/1.0/'
Details TYPE_ANY = 'any'
Feed type constants
Details TYPE_ATOM_03 = 'atom-03'
Details TYPE_ATOM_10 = 'atom-10'
Details TYPE_ATOM_10_ENTRY = 'atom-10-entry'
Details TYPE_ATOM_ANY = 'atom'
Details TYPE_RSS_090 = 'rss-090'
Details TYPE_RSS_091 = 'rss-091'
Details TYPE_RSS_091_NETSCAPE = 'rss-091n'
Details TYPE_RSS_091_USERLAND = 'rss-091u'
Details TYPE_RSS_092 = 'rss-092'
Details TYPE_RSS_093 = 'rss-093'
Details TYPE_RSS_094 = 'rss-094'
Details TYPE_RSS_10 = 'rss-10'
Details TYPE_RSS_20 = 'rss-20'
Details TYPE_RSS_ANY = 'rss'
DetailsZend_Cache_Core $_cache = 'null'Cache instance
Details $_extensions = 'array'
DetailsZend_Http_Client $_httpClient = 'null'HTTP client object to use for retrieving feeds
Details $_httpConditionalGet = 'false'
Detailsboolean $_httpMethodOverride = 'false'Override HTTP PUT and DELETE request methods?
Details $_pluginLoader = 'null'
Details $_prefixPaths = 'array'
Details_registerCoreExtensions(
)
:
voidRegister core (default) extensions
DetailsaddPrefixPath(
string $prefix, string $path
)
:
voidAdd prefix path for loading Extensions
DetailsaddPrefixPaths(
array $spec
)
:
voidAdd multiple Extension prefix paths at once
DetailsarrayUnique(
$array
)
:
arrayUtility method to apply array_unique operation to a multidimensional array.
DetailsdetectType(
Zend_Feed_Abstract|DOMDocument|string $feed, $specOnly
=
false
)
:
stringDetect the feed type of the provided feed
DetailsfindFeedLinks(
$uri
)
:
DetailsgetCache(
)
:
Zend_Cache_CoreGet the Feed cache
DetailsgetExtensions(
)
:
arrayGet a list of extensions
DetailsgetHttpClient(
)
:
Zend_Http_Client_AbstractGets the HTTP client object. If none is set, a new Zend_Http_Client will be used.
DetailsgetHttpMethodOverride(
)
:
booleanGet the HTTP override state
DetailsgetPluginLoader(
)
:
Zend_Loader_PluginLoader_InterfaceGet plugin loader for use with Extensions
Detailsimport(
$uri, string $etag
=
null, string $lastModified
=
null
)
:
Zend_Feed_Reader_FeedInterfaceImport a feed by providing a URL
DetailsimportFeed(
Zend_Feed_Abstract $feed
)
:
Zend_Feed_Reader_FeedInterfaceImport a feed by providing a Zend_Feed_Abstract object
DetailsimportFile(
string $filename
)
:
Zend_Feed_Reader_FeedInterfaceImports a feed from a file located at $filename.
DetailsimportString(
string $string
)
:
Zend_Feed_Reader_FeedInterfaceImport a feed froma string
DetailsisRegistered(
string $extensionName
)
:
booleanIs a given named Extension registered?
DetailsregisterExtension(
string $name
)
:
voidRegister an Extension by name
Detailsreset(
)
:
voidReset class state to defaults
DetailssetCache(
Zend_Cache_Core $cache
)
:
voidSet the feed cache
DetailssetHttpClient(
Zend_Http_Client $httpClient
)
:
voidSet the HTTP client instance
Sets the HTTP client object to use for retrieving the feeds.
DetailssetHttpMethodOverride(
boolean $override
=
true
)
:
voidToggle 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.
DetailssetPluginLoader(
Zend_Loader_PluginLoader_Interface $loader
)
:
Set plugin loader for use with Extensions
DetailsuseHttpConditionalGet(
bool $bool
=
true
)
:
voidSet the flag indicating whether or not to use HTTP conditional GET
Details