PHP 클래스 Horde_Feed_Base, horde
Horde_Feed_Base implements two core PHP 5 interfaces: ArrayAccess
and Iterator. In both cases the collection being treated as an
array is considered to be the entry collection, such that iterating
over the feed takes you through each of the feed's entries.
파일 보기
프로젝트 열기: horde/horde
1 사용 예제들
보호된 프로퍼티들
공개 메소드들
메소드 |
설명 |
|
__construct ( mixed $xml = null, string $uri = null, Horde_Http_Client $httpClient = null ) |
Feed constructor |
|
__wakeup ( ) |
Handle null or array values for $this->_element by initializing
with $this->_emptyXml, and importing the array with
Horde_Xml_Element::fromArray() if necessary. |
|
current ( ) : mixed |
Required by the Iterator interface. |
|
메소드 상세
The Horde_Feed_Base constructor takes the URI of a feed or a
feed represented as a string and loads it as XML.
public __construct ( mixed $xml = null, string $uri = null, Horde_Http_Client $httpClient = null ) |
$xml |
mixed |
The feed as a string, a DOMElement, or null. |
$uri |
string |
The full URI of the feed, or null if unknown. |
$httpClient |
Horde_Http_Client |
|
Handle null or array values for $this->_element by initializing
with $this->_emptyXml, and importing the array with
Horde_Xml_Element::fromArray() if necessary.
Required by the Iterator interface.
프로퍼티 상세
$_httpClient 보호되어 있는 프로퍼티
protected Horde_Http_Client $_httpClient |
리턴 |
Horde_Http_Client |
|
protected string $_uri |
리턴 |
string |
|