Back to Joomla project (class list)

Class AtomParser - list of methods

ATOM Feed Parser class.

Extends

Package: Joomla\CMS\Feed\Parser
Copyright: (C) 2012 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Feed/Parser/AtomParser.php
Project: Joomla

Method Summary

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<author>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleAuthor Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<contributor>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleContributor Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<generator>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleGenerator Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<id>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleId Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<link>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleLink Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<rights>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleRights Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<subtitle>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleSubtitle Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<title>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleTitle Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<updated>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleUpdated Source Code

protected void
()

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.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: initialise Source Code

protected void
(\Joomla\CMS\Feed\FeedEntry $entry, \SimpleXMLElement $el)

Method to handle a `<entry>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\FeedEntry $entry The FeedEntry object being built from the parsed feed entry.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: processFeedEntry Source Code

private \SimpleXMLElement
(array $links)

If there is more than one <link> in the feed entry, find the most appropriate one and return it.
Parameters
  • array $links Array of <link> elements from the feed entry.
Returns
  • \SimpleXMLElement
Show source code of this method: bestLinkForUri Source Code

Properties Summary

protected string
$version
Since
  • 3.1.4

Tags Summary

Since
3.1.4