[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Feed/Parser/ -> AtomParser.php (summary)

Joomla! Content Management System

Copyright: (C) 2012 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 261 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

AtomParser:: (12 methods):
  handleAuthor()
  handleContributor()
  handleGenerator()
  handleId()
  handleLink()
  handleRights()
  handleSubtitle()
  handleTitle()
  handleUpdated()
  initialise()
  processFeedEntry()
  bestLinkForUri()


Class: AtomParser  - X-Ref

ATOM Feed Parser class.

handleAuthor(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<author>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleContributor(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<contributor>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleGenerator(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<generator>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleId(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<id>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleLink(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<link>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleRights(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<rights>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleSubtitle(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<subtitle>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleTitle(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<title>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleUpdated(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<updated>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

initialise()   X-Ref
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.

return: void

processFeedEntry(FeedEntry $entry, \SimpleXMLElement $el)   X-Ref
Method to handle a `<entry>` element for the feed.

param: FeedEntry          $entry  The FeedEntry object being built from the parsed feed entry.
param: \SimpleXMLElement  $el     The current XML element object to handle.
return: void

bestLinkForUri(array $links)   X-Ref
If there is more than one <link> in the feed entry, find the most appropriate one and return it.

param: array  $links  Array of <link> elements from the feed entry.
return: \SimpleXMLElement



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer