프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$context | resource | Stream context | |
$contextOptions | integer | Context options | |
$feed | array | Feed content | |
$limit | integer | Feed limit | |
$obj | mixed | Parsed object | |
$options | mixed | Feed options | |
$source | string | Feed source | |
$url | string | URL to parse | |
$urls | array | Feed URLs templates |
메소드 | 설명 | |
---|---|---|
__construct ( mixed $options, integer $limit ) : |
Method to parse a feed object | |
__get ( string $name ) : mixed | Get method to return the value of feed[$name]. | |
__isset ( string $name ) : boolean | Return the isset value of feed[$name]. | |
__set ( string $name, mixed $value ) : void | Set method to set the property to the value of feed[$name]. | |
__unset ( string $name ) : void | Unset feed[$name]. | |
calculateTime ( string $time ) : string | Method to calculate the elapsed time between the date passed and now. | |
getFeed ( ) : array | Method to get the feed | |
getLimit ( ) : integer | Method to get the limit | |
getOptions ( ) : mixed | Method to get the feed options | |
obj ( ) : mixed | Method to get the parsed object | |
parse ( ) : void | Method to parse a feed object | |
setFeed ( array $feed = [] ) : |
Method to set the feed | |
url ( ) : string | Method to get the URL |
public __construct ( mixed $options, integer $limit ) : |
||
$options | mixed | |
$limit | integer | |
리턴 |
public static calculateTime ( string $time ) : string | ||
$time | string | |
리턴 | string |