API17

JFactory::getXMLParser

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JFactory::getXMLParser

Description

Get an XML document.


public static function getXMLParser (
        $type= ''
        $options=array
)
Parameter Type Default Description
$type string The type of xml parser needed 'DOM', 'RSS' or 'Simple'
$options array array() ['rssUrl'] the rss url to parse when using "RSS", ['cache_time'] with 'RSS' - feed cache time. If not defined defaults to 3600 sec
  • Returns object Parsed XML document object
  • Defined on line 314 of libraries/joomla/factory.php
  • Referenced by

See also

  • Joomla 11.1 JFactory::getXMLParser source code on BitBucket
  • Joomla 11.1 Class JFactory
  • Other versions of JFactory::getXMLParser


User contributed notes

Code Examples


Advertisement