JFactory::getXMLParser/1.6

From Joomla! Documentation

Jump to: navigation, search

Joomla 1.6 JFactory::getXMLParser

Description

Get an XML document.

Description:JFactory::getXMLParser [Edit Descripton]

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 303 of libraries/joomla/factory.php
  • Referenced by

See also

SeeAlso:JFactory::getXMLParser [Edit See Also]

User contributed notes


Personal tools