프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$arrData | array | Data | |
$arrItems | array | Items | |
$strName | string | Feed name |
메소드 | 설명 | |
---|---|---|
__construct ( string $strName ) | Store the feed name (without file extension) | |
__get ( string $strKey ) : mixed | null | Return an object property | |
__isset ( string $strKey ) : boolean | Check whether a property is set | |
__set ( string $strKey, mixed $varValue ) | Set an object property | |
addItem ( |
Add an item | |
generateAtom ( ) : string | Generate an Atom feed and return it as XML string | |
generateRss ( ) : string | Generate an RSS 2.0 feed and return it as XML string |
메소드 | 설명 | |
---|---|---|
adjustPublicationDate ( ) | Adjust the publication date |
public __construct ( string $strName ) | ||
$strName | string | The feed name |
public addItem ( |
||
$objItem | The feed item object |
public generateAtom ( ) : string | ||
리턴 | string | The Atom feed markup |
public generateRss ( ) : string | ||
리턴 | string | The RSS feed markup |