jXMLFeedReader
in package
Tags
Table of Contents
- $infos : jRSS20Info|jAtom10Info
- $items : array<string|int, jRSS20Item>|array<string|int, jAtom10Item>
- $xml : SimpleXMLElement
- content an url
- $_infos_analyzed : mixed
- $_items_analyzed : mixed
- __construct() : mixed
- read an flux with an url parameter
- clearXML() : mixed
- Clear the the SimpleXML structure corresponding to the feed (usefull for big feed)
- getInfos() : jRSS20Info|jAtom10Info
- getItems() : array<string|int, jXMLFeedItem>
- getXML() : SimpleXMLElement
- return the SimpleXML structure corresponding to the feed
- analyzeInfo() : mixed
- Analyze infos of the feed
- analyzeItems() : mixed
- Analyze items of the feed
Properties
$infos
protected
jRSS20Info|jAtom10Info
$infos
$items
protected
array<string|int, jRSS20Item>|array<string|int, jAtom10Item>
$items
$xml
content an url
protected
SimpleXMLElement
$xml
$_infos_analyzed
private
mixed
$_infos_analyzed
= alse
$_items_analyzed
private
mixed
$_items_analyzed
= alse
Methods
__construct()
read an flux with an url parameter
public
__construct(string $url) : mixed
Parameters
- $url : string
Tags
Return values
mixed —clearXML()
Clear the the SimpleXML structure corresponding to the feed (usefull for big feed)
public
clearXML() : mixed
Return values
mixed —getInfos()
public
getInfos() : jRSS20Info|jAtom10Info
Return values
jRSS20Info|jAtom10Info —getItems()
public
getItems() : array<string|int, jXMLFeedItem>
Return values
array<string|int, jXMLFeedItem> —getXML()
return the SimpleXML structure corresponding to the feed
public
getXML() : SimpleXMLElement
Return values
SimpleXMLElement —analyzeInfo()
Analyze infos of the feed
protected
abstract analyzeInfo() : mixed
Return values
mixed —analyzeItems()
Analyze items of the feed
protected
abstract analyzeItems() : mixed