Class Horde_Feed

Description

Located in /Feed/lib/Horde/Feed.php (line 16)


	
			
Variable Summary
Method Summary
 static Horde_Feed_Base create ( $doc, [ $uri = null])
 static Horde_Feed_Base read (string $string, [string $uri = null])
 static Horde_Feed_Base readFile (string $filename)
 static Horde_Feed_Base readUri (string $uri)
 static void setHttpClient (Horde_Http_Client $httpClient)
Variables
static Horde_Http_Client $_httpClient = null (line 23)

HTTP client object to use for accessing feeds

  • access: protected
Methods
static create (line 61)

Create a Feed object based on a DOMDocument.

  • return: The feed object imported from $doc
  • throws: Horde_Feed_Exception
  • access: public
static Horde_Feed_Base create ( $doc, [ $uri = null])
  • DOMDocument $doc: The DOMDocument object to import.
  • $uri
static getHttpClient (line 43)

Gets the HTTP client object.

  • access: public
static Horde_Http_Client getHttpClient ()
static read (line 106)

Reads a feed represented by $string.

  • throws: Horde_Feed_Exception
  • access: public
static Horde_Feed_Base read (string $string, [string $uri = null])
  • string $string: The XML content of the feed.
  • string $uri: The feed's URI location, if known.
static readFile (line 151)

Read a feed from $filename

  • throws: Horde_Feed_Exception
  • access: public
static Horde_Feed_Base readFile (string $filename)
  • string $filename: The location of the feed file on an accessible filesystem or through an available stream wrapper.
static readUri (line 126)

Read a feed located at $uri

  • throws: Horde_Feed_Exception
  • access: public
static Horde_Feed_Base readUri (string $uri)
  • string $uri: The URI to fetch the feed from.
static setHttpClient (line 33)

Set the HTTP client instance

Sets the HTTP client object to use for retrieving the feeds. If none is set, the default Horde_Http_Client will be used.

  • access: public
static void setHttpClient (Horde_Http_Client $httpClient)

Documentation generated on Sun, 30 Jan 2011 05:17:12 +0000 by phpDocumentor 1.4.3