/libraries/joomla/feed/parser/namespace.php

https://gitlab.com/vitaliylukin91/lavka · PHP · 42 lines · 7 code · 3 blank · 32 comment · 0 complexity · 79636965bb105fee80f3869a8cdac0aa MD5 · raw file

  1. <?php
  2. /**
  3. * @package Joomla.Platform
  4. * @subpackage Feed
  5. *
  6. * @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
  7. * @license GNU General Public License version 2 or later; see LICENSE
  8. */
  9. defined('JPATH_PLATFORM') or die;
  10. /**
  11. * Feed Namespace interface.
  12. *
  13. * @since 12.3
  14. */
  15. interface JFeedParserNamespace
  16. {
  17. /**
  18. * Method to handle an element for the feed given that a certain namespace is present.
  19. *
  20. * @param JFeed $feed The JFeed object being built from the parsed feed.
  21. * @param SimpleXMLElement $el The current XML element object to handle.
  22. *
  23. * @return void
  24. *
  25. * @since 12.3
  26. */
  27. public function processElementForFeed(JFeed $feed, SimpleXMLElement $el);
  28. /**
  29. * Method to handle the feed entry element for the feed given that a certain namespace is present.
  30. *
  31. * @param JFeedEntry $entry The JFeedEntry object being built from the parsed feed entry.
  32. * @param SimpleXMLElement $el The current XML element object to handle.
  33. *
  34. * @return void
  35. *
  36. * @since 12.3
  37. */
  38. public function processElementForFeedEntry(JFeedEntry $entry, SimpleXMLElement $el);
  39. }