dolibarr  20.0.0-alpha
Classes | Functions
rssparser.class.php File Reference

File of class to parse RSS feeds. More...

Go to the source code of this file.

Classes

class  RssParser
 Class to parse RSS files. More...
 

Functions

 rss_map_attrs ($k, $v)
 Function to convert an XML object into an array. More...
 
 xml2php ($xml)
 Function to convert an XML object into an array. More...
 

Detailed Description

File of class to parse RSS feeds.

Definition in file rssparser.class.php.

Function Documentation

◆ rss_map_attrs()

rss_map_attrs (   $k,
  $v 
)

Function to convert an XML object into an array.

Parameters
string$kKey
string$vValue
Returns
string

Definition at line 834 of file rssparser.class.php.

◆ xml2php()

xml2php (   $xml)

Function to convert an XML object into an array.

Parameters
SimpleXMLElement$xmlXml
Returns
array|string

Definition at line 845 of file rssparser.class.php.