API17

JFactory::getXMLParser

From Joomla! Documentation

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[edit]

Description[edit]

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[edit]


User contributed notes[edit]

Code Examples[edit]