PHP 클래스 Horde_Feed, horde

저자: Chuck Hagenbuch ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
create ( DOMDocument $doc, $uri = null ) : Horde_Feed_Base Create a Feed object based on a DOMDocument.
read ( string $string, string $uri = null ) : Horde_Feed_Base Reads a feed represented by $string.
readFile ( string $filename ) : Horde_Feed_Base Read a feed from $filename
readUri ( string $uri, Horde_Http_Client $httpclient = null ) : Horde_Feed_Base Read a feed located at $uri

보호된 메소드들

메소드 설명
_exception ( string $msg, libXMLError $error ) Builds an exception message from a libXMLError object.

메소드 상세

_exception() 보호된 정적인 메소드

Builds an exception message from a libXMLError object.
protected static _exception ( string $msg, libXMLError $error )
$msg string An error message.
$error libXMLError An error object.

create() 공개 정적인 메소드

Create a Feed object based on a DOMDocument.
public static create ( DOMDocument $doc, $uri = null ) : Horde_Feed_Base
$doc DOMDocument The DOMDocument object to import.
리턴 Horde_Feed_Base The feed object imported from $doc

read() 공개 정적인 메소드

Reads a feed represented by $string.
public static read ( string $string, string $uri = null ) : Horde_Feed_Base
$string string The XML content of the feed.
$uri string The feed's URI location, if known.
리턴 Horde_Feed_Base

readFile() 공개 정적인 메소드

Read a feed from $filename
public static readFile ( string $filename ) : Horde_Feed_Base
$filename string The location of the feed file on an accessible filesystem or through an available stream wrapper.
리턴 Horde_Feed_Base

readUri() 공개 정적인 메소드

Read a feed located at $uri
public static readUri ( string $uri, Horde_Http_Client $httpclient = null ) : Horde_Feed_Base
$uri string The URI to fetch the feed from.
$httpclient Horde_Http_Client The HTTP client to use.
리턴 Horde_Feed_Base