Actions

API17

JFactory::getXMLParser

From Joomla! Documentation

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 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 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

SeeAlso:JFactory::getXMLParser [Edit See Also]

User contributed notes

<CodeExamplesForm />