API17:JFactory::getXMLParser
From Joomla! Documentation
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
JFactory::getXMLParser source code on BitBucket
Class JFactory- Other versions of JFactory::getXMLParser
User contributed notes
Code Examples