Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe RssParser
+ Graphe d'héritage de RssParser:

Fonctions membres protégées

 handleCategory (Feed $feed, \SimpleXMLElement $el)
 
 handleCloud (Feed $feed, \SimpleXMLElement $el)
 
 handleCopyright (Feed $feed, \SimpleXMLElement $el)
 
 handleDescription (Feed $feed, \SimpleXMLElement $el)
 
 handleGenerator (Feed $feed, \SimpleXMLElement $el)
 
 handleImage (Feed $feed, \SimpleXMLElement $el)
 
 handleLanguage (Feed $feed, \SimpleXMLElement $el)
 
 handleLastBuildDate (Feed $feed, \SimpleXMLElement $el)
 
 handleLink (Feed $feed, \SimpleXMLElement $el)
 
 handleManagingEditor (Feed $feed, \SimpleXMLElement $el)
 
 handleSkipDays (Feed $feed, \SimpleXMLElement $el)
 
 handleSkipHours (Feed $feed, \SimpleXMLElement $el)
 
 handlePubDate (Feed $feed, \SimpleXMLElement $el)
 
 handleTitle (Feed $feed, \SimpleXMLElement $el)
 
 handleTtl (Feed $feed, \SimpleXMLElement $el)
 
 handleWebmaster (Feed $feed, \SimpleXMLElement $el)
 
 initialise ()
 
 processFeedEntry (FeedEntry $entry, \SimpleXMLElement $el)
 
 processPerson ($data)
 
- Fonctions membres protégées hérités de FeedParser
 initialise ()
 
 processElement (Feed $feed, \SimpleXMLElement $el, array $namespaces)
 
 fetchNamespace ($prefix)
 
 moveToNextElement ($name=null)
 
 moveToClosingElement ()
 

Attributs protégés

 $entryElementName = 'item'
 
 $version
 
- Attributs protégés hérités de FeedParser
 $entryElementName = 'entry'
 
 $namespaces = array()
 
 $stream
 
 $inputFilter
 

Membres hérités additionnels

- Fonctions membres publiques hérités de FeedParser
 __construct (\XMLReader $stream, InputFilter $inputFilter=null)
 
 parse ()
 
 registerNamespace ($prefix, NamespaceParserInterface $namespace)
 

Description détaillée

RSS Feed Parser class.

3.1.4

Documentation des fonctions membres

◆ handleCategory()

handleCategory ( Feed  $feed,
\SimpleXMLElement  $el 
)
protected

Method to handle the <category> element for the feed.

Paramètres
Feed$feedThe Feed object being built from the parsed feed.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $category, et $feed.

◆ handleCloud()

handleCloud ( Feed  $feed,
\SimpleXMLElement  $el 
)
protected

Method to handle the <cloud> element for the feed.

Paramètres
Feed$feedThe Feed object being built from the parsed feed.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $feed.

◆ handleCopyright()

handleCopyright ( Feed  $feed,
\SimpleXMLElement  $el 
)
protected

Method to handle the <copyright> element for the feed.

Paramètres
Feed$feedThe Feed object being built from the parsed feed.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $feed.

◆ handleDescription()

handleDescription ( Feed  $feed,
\SimpleXMLElement  $el 
)
protected

Method to handle the <description> element for the feed.

Paramètres
Feed$feedThe Feed object being built from the parsed feed.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $feed.

◆ handleGenerator()

handleGenerator ( Feed  $feed,
\SimpleXMLElement  $el 
)
protected

Method to handle the <generator> element for the feed.

Paramètres
Feed$feedThe Feed object being built from the parsed feed.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $feed.

◆ handleImage()

handleImage ( Feed  $feed,
\SimpleXMLElement  $el 
)
protected

Method to handle the <image> element for the feed.

Paramètres
Feed$feedThe Feed object being built from the parsed feed.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $feed, $image, $this, et null.

◆ handleLanguage()

handleLanguage ( Feed  $feed,
\SimpleXMLElement  $el 
)
protected

Method to handle the <language> element for the feed.

Paramètres
Feed$feedThe Feed object being built from the parsed feed.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $feed.

◆ handleLastBuildDate()

handleLastBuildDate ( Feed  $feed,
\SimpleXMLElement  $el 
)
protected

Method to handle the <lastBuildDate> element for the feed.

Paramètres
Feed$feedThe Feed object being built from the parsed feed.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $feed.

◆ handleLink()

handleLink ( Feed  $feed,
\SimpleXMLElement  $el 
)
protected

Method to handle the <link> element for the feed.

Paramètres
Feed$feedThe Feed object being built from the parsed feed.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $feed, et $link.

◆ handleManagingEditor()

handleManagingEditor ( Feed  $feed,
\SimpleXMLElement  $el 
)
protected

Method to handle the <managingEditor> element for the feed.

Paramètres
Feed$feedThe Feed object being built from the parsed feed.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $feed.

◆ handlePubDate()

handlePubDate ( Feed  $feed,
\SimpleXMLElement  $el 
)
protected

Method to handle the <pubDate> element for the feed.

Paramètres
Feed$feedThe Feed object being built from the parsed feed.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $feed.

◆ handleSkipDays()

handleSkipDays ( Feed  $feed,
\SimpleXMLElement  $el 
)
protected

Method to handle the <skipDays> element for the feed.

Paramètres
Feed$feedThe Feed object being built from the parsed feed.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $feed.

◆ handleSkipHours()

handleSkipHours ( Feed  $feed,
\SimpleXMLElement  $el 
)
protected

Method to handle the <skipHours> element for the feed.

Paramètres
Feed$feedThe Feed object being built from the parsed feed.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $feed.

◆ handleTitle()

handleTitle ( Feed  $feed,
\SimpleXMLElement  $el 
)
protected

Method to handle the <title> element for the feed.

Paramètres
Feed$feedThe Feed object being built from the parsed feed.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $feed.

◆ handleTtl()

handleTtl ( Feed  $feed,
\SimpleXMLElement  $el 
)
protected

Method to handle the <ttl> element for the feed.

Paramètres
Feed$feedThe Feed object being built from the parsed feed.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $feed.

◆ handleWebmaster()

handleWebmaster ( Feed  $feed,
\SimpleXMLElement  $el 
)
protected

Method to handle the <webmaster> element for the feed.

Paramètres
Feed$feedThe Feed object being built from the parsed feed.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $feed, $name, $tmp, et null.

◆ initialise()

initialise ( )
protected

Method to initialise the feed for parsing. Here we detect the version and advance the stream reader so that it is ready to parse feed elements.

Renvoie
void
Depuis
3.1.4

◆ processFeedEntry()

processFeedEntry ( FeedEntry  $entry,
\SimpleXMLElement  $el 
)
protected

Method to handle a <item> element for the feed.

Paramètres
FeedEntry$entryThe FeedEntry object being built from the parsed feed entry.
\SimpleXMLElement$elThe current XML element object to handle.
Renvoie
void
Depuis
3.1.4

Références $author, $category, $link, $this, FeedEntry\addCategory(), FeedEntry\addLink(), et null.

◆ processPerson()

processPerson (   $data)
protected

Method to parse a string with person data and return a FeedPerson object.

Paramètres
string$dataThe string to parse for a person.
Renvoie
FeedPerson
Depuis
3.1.4

Références $data.

Documentation des champs

◆ $entryElementName

$entryElementName = 'item'
protected

◆ $version

$version
protected

La documentation de cette classe a été générée à partir du fichier suivant :