Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
XML_Array Class Reference

Public Member Functions

 XML_Array ($arr_paths=Array())
 
 setArrayPaths ($arr_paths)
 
getArrayFromFile ($filename, $arr_paths=Array())
 
 getArrayFromString ($str, $arr_paths=Array())
 
 _initParse ()
 
 startHandler ($xp, $elem, &$attribs)
 
 endHandler ($xp, $elem)
 
 cdataHandler ($xp, $data)
 
 close ()
 

Data Fields

 $_array_paths = Array()
 
 $_results = Array()
 
 $_path = Array()
 
 $_path_ptrs = Array()
 
 $_cdata = ''
 

Detailed Description

Definition at line 43 of file xml_array.inc.

Member Function Documentation

endHandler (   $xp,
  $elem 
)

Handler for the xml-data

Parameters
mixed$xpignored
string$elemname of the element

private

Definition at line 252 of file xml_array.inc.

startHandler (   $xp,
  $elem,
$attribs 
)

Handler for the xml-data

Parameters
mixed$xpignored
string$elemname of the element
array$attribsattributes for the generated node

private

Definition at line 182 of file xml_array.inc.

XML_Array (   $arr_paths = Array())

Constructor

Parameters
array$arr_paths

Definition at line 96 of file xml_array.inc.


The documentation for this class was generated from the following file: