[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Joomla! Content Management System
Copyright: | (C) 2012 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 153 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
FeedFactory:: (4 methods):
getFeed()
registerParser()
getParsers()
_fetchFeedParser()
Class: FeedFactory - X-Ref
Feed factory class.getFeed($uri) X-Ref |
Method to load a URI into the feed reader for parsing. param: string $uri The URI of the feed to load. Idn uris must be passed already converted to punycode. return: Feed |
registerParser($tagName, $className, $overwrite = false) X-Ref |
Method to register a FeedParser class for a given root tag name. param: string $tagName The root tag name for which to register the parser class. param: string $className The FeedParser class name to register for a root tag name. param: boolean $overwrite True to overwrite the parser class if one is already registered. return: FeedFactory |
getParsers() X-Ref |
Method to get the registered Parsers return: array |
_fetchFeedParser($type, \XMLReader $reader) X-Ref |
Method to return a new JFeedParser object based on the registered parsers and a given type. param: string $type The name of parser to return. param: \XMLReader $reader The XMLReader instance for the feed. return: FeedParser |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |