Свойство | Type | Description | |
---|---|---|---|
$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 |
Méthode | Description | |
---|---|---|
__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 | |
Résultat |
public static calculateTime ( string $time ) : string | ||
$time | string | |
Résultat | string |
public getOptions ( ) : mixed | ||
Résultat | mixed |
protected int $contextOptions | ||
Résultat | integer |