Moodle  2.2.1
http://www.collinsharper.com
xml2Array Class Reference

Public Member Functions

 utf8_to_entities ($str)
 parse ($strInputXML)
 tagOpen ($parser, $name, $attrs)
 tagData ($parser, $tagData)
 tagClosed ($parser, $name)

Data Fields

 $arrOutput = array()
 $resParser
 $strXmlData

Detailed Description

Definition at line 783 of file scormlib.php.


Member Function Documentation

parse ( strInputXML)

Parse an XML text string and create an array tree that rapresent the XML structure

Parameters:
string$strInputXMLThe XML string
Returns:
array

Definition at line 811 of file scormlib.php.

tagClosed ( parser,
name 
)

Definition at line 845 of file scormlib.php.

tagData ( parser,
tagData 
)

Definition at line 835 of file scormlib.php.

Here is the call graph for this function:

tagOpen ( parser,
name,
attrs 
)

Definition at line 830 of file scormlib.php.

utf8_to_entities ( str)

Convert a utf-8 string to html entities

Parameters:
string$strThe UTF-8 string
Returns:
string

Definition at line 795 of file scormlib.php.

Here is the caller graph for this function:


Field Documentation

$arrOutput = array()

Definition at line 785 of file scormlib.php.

$resParser

Definition at line 786 of file scormlib.php.

$strXmlData

Definition at line 787 of file scormlib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations