Back to NamespaceParserInterface class

Method processElementForFeed

public void
processElementForFeed
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)
Method to handle an element for the feed given that a certain namespace is present.
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

Method processElementForFeed - Source code

/**
 * Method to handle an element for the feed given that a certain namespace is present.
 *
 * @param   Feed               $feed  The Feed object being built from the parsed feed.
 * @param   \SimpleXMLElement  $el    The current XML element object to handle.
 *
 * @return  void
 *
 * @since   3.1.4
 */
public function processElementForFeed(Feed $feed, \SimpleXMLElement $el);