PageRenderTime 19ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/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
10defined('JPATH_PLATFORM') or die;
11
12/**
13 * Feed Namespace interface.
14 *
15 * @since  12.3
16 */
17interface JFeedParserNamespace
18{
19	/**
20	 * Method to handle an element for the feed given that a certain namespace is present.
21	 *
22	 * @param   JFeed             $feed  The JFeed object being built from the parsed feed.
23	 * @param   SimpleXMLElement  $el    The current XML element object to handle.
24	 *
25	 * @return  void
26	 *
27	 * @since   12.3
28	 */
29	public function processElementForFeed(JFeed $feed, SimpleXMLElement $el);
30
31	/**
32	 * Method to handle the feed entry element for the feed given that a certain namespace is present.
33	 *
34	 * @param   JFeedEntry        $entry  The JFeedEntry object being built from the parsed feed entry.
35	 * @param   SimpleXMLElement  $el     The current XML element object to handle.
36	 *
37	 * @return  void
38	 *
39	 * @since   12.3
40	 */
41	public function processElementForFeedEntry(JFeedEntry $entry, SimpleXMLElement $el);
42}