[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Feed/Parser/Rss/ -> MediaRssParser.php (source)

   1  <?php
   2  
   3  /**
   4   * Joomla! Content Management System
   5   *
   6   * @copyright  (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
   7   * @license    GNU General Public License version 2 or later; see LICENSE.txt
   8   */
   9  
  10  namespace Joomla\CMS\Feed\Parser\Rss;
  11  
  12  use Joomla\CMS\Feed\Feed;
  13  use Joomla\CMS\Feed\FeedEntry;
  14  use Joomla\CMS\Feed\Parser\NamespaceParserInterface;
  15  
  16  // phpcs:disable PSR1.Files.SideEffects
  17  \defined('JPATH_PLATFORM') or die;
  18  // phpcs:enable PSR1.Files.SideEffects
  19  
  20  /**
  21   * RSS Feed Parser Namespace handler for MediaRSS.
  22   *
  23   * @link   https://www.rssboard.org/media-rss
  24   * @since  3.1.4
  25   */
  26  class MediaRssParser implements NamespaceParserInterface
  27  {
  28      /**
  29       * Method to handle an element for the feed given that the media namespace is present.
  30       *
  31       * @param   Feed               $feed  The Feed object being built from the parsed feed.
  32       * @param   \SimpleXMLElement  $el    The current XML element object to handle.
  33       *
  34       * @return  void
  35       *
  36       * @since   3.1.4
  37       */
  38      public function processElementForFeed(Feed $feed, \SimpleXMLElement $el)
  39      {
  40      }
  41  
  42      /**
  43       * Method to handle the feed entry element for the feed given that the media namespace is present.
  44       *
  45       * @param   FeedEntry          $entry  The FeedEntry object being built from the parsed feed entry.
  46       * @param   \SimpleXMLElement  $el     The current XML element object to handle.
  47       *
  48       * @return  void
  49       *
  50       * @since   3.1.4
  51       */
  52      public function processElementForFeedEntry(FeedEntry $entry, \SimpleXMLElement $el)
  53      {
  54      }
  55  }


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