\Zend_Feed
Feed utility class
Base Zend_Feed class, containing constants and the Zend_Http_Client instance
accessor.
- Copyright: Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com)
- License: http://framework.zend.com/license/new-bsd New BSD License
Synopsis
class Zend_Feed
{
- // members
- protected static Zend_Http_Client $_httpClient = NULL;
- protected static boolean $_httpMethodOverride = false;
- protected static array $_namespaces = ;
- // methods
- public static void setHttpClient()
- public static Zend_Http_Client_Abstract getHttpClient()
- public static void setHttpMethodOverride()
- public static boolean getHttpMethodOverride()
- public static string lookupNamespace()
- public static void registerNamespace()
- public static Zend_Feed_Abstract import()
- public static Zend_Feed_Abstract importString()
- public static Zend_Feed_Abstract importFile()
- public static array findFeeds()
- public static Zend_Feed_Abstract importArray()
- public static Zend_Feed_Abstract importBuilder()
Tasks
Line | Task |
---|---|
279+ | Allow findFeeds() to follow one, but only one, code 302. |
Members
protected
- $_httpClient
—
Zend_Http_Client
HTTP client object to use for retrieving feeds - $_httpMethodOverride
—
boolean
Override HTTP PUT and DELETE request methods? - $_namespaces — array
Methods
public
- findFeeds() — Attempts to find feeds at $uri referenced by <link ... /> tags. Returns an array of the feeds referenced at $uri.
- getHttpClient() — Gets the HTTP client object. If none is set, a new Zend_Http_Client will be used.
- getHttpMethodOverride() — Get the HTTP override state
- import() — Imports a feed located at $uri.
- importArray() — Construct a new Zend_Feed_Abstract object from a custom array
- importBuilder() — Construct a new Zend_Feed_Abstract object from a Zend_Feed_Builder_Interface data source
- importFile() — Imports a feed from a file located at $filename.
- importString() — Imports a feed represented by $string.
- lookupNamespace() — Get the full version of a namespace prefix
- registerNamespace() — Add a namespace and prefix to the registered list
- setHttpClient() — Set the HTTP client instance
- setHttpMethodOverride() — Toggle using POST instead of PUT and DELETE HTTP methods