Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
Ilias3ObjectXMLParser Class Reference
Inheritance diagram for Ilias3ObjectXMLParser:
Ilias3SaxParser

Public Member Functions

 __construct ($a_xml_data= '')
 
 getObjectData ()
 
 setHandlers ($a_xml_parser)
 
 handlerBeginTag ($a_xml_parser, $a_name, $a_attribs)
 
 handlerEndTag ($a_xml_parser, $a_name)
 
 handlerCharacterData ($a_xml_parser, $a_data)
 
 addProperty__ ($a_name, $a_value)
 
 addReference__ ($a_value, $a_accessinfo="")
 
 addOperation__ ($a_value)
 
- Public Member Functions inherited from Ilias3SaxParser
 __construct ($a_xml_file= '')
 
 setXMLContent ($a_xml_content)
 
 getXMLContent ()
 
 getInputType ()
 
 startParsing ()
 
 createParser ()
 
 setOptions ($a_xml_parser)
 
 setHandlers ($a_xml_parser)
 
 openXMLFile ()
 
 parse ($a_xml_parser, $a_fp=null)
 
 freeParser ($a_xml_parser)
 

Data Fields

 $object_data = []
 
 $curr_obj
 
 $reference_count
 
 $cdata = ''
 
- Data Fields inherited from Ilias3SaxParser
 $input_type = null
 
 $xml_content = ''
 
 $ilias
 
 $lng
 
 $xml_file
 

Constructor & Destructor Documentation

__construct (   $a_xml_data = '')

Constructor

Parameters
object$a_content_objectmust be of type ilObjContentObject ilObjTest or ilObjQuestionPool
string$a_xml_filexml data
string$a_subdirsubdirectory in import directory

public

Member Function Documentation

addOperation__ (   $a_value)
addProperty__ (   $a_name,
  $a_value 
)
addReference__ (   $a_value,
  $a_accessinfo = "" 
)
getObjectData ( )
handlerBeginTag (   $a_xml_parser,
  $a_name,
  $a_attribs 
)

handler for begin of element

Parameters
resource$a_xml_parserxml parser
string$a_nameelement name
array$a_attribselement attributes array
handlerCharacterData (   $a_xml_parser,
  $a_data 
)

handler for character data

Parameters
resource$a_xml_parserxml parser
string$a_datacharacter data
handlerEndTag (   $a_xml_parser,
  $a_name 
)

handler for end of element

Parameters
resource$a_xml_parserxml parser
string$a_nameelement name
setHandlers (   $a_xml_parser)

set event handlers

Parameters
resourcereference to the xml parser

private

Field Documentation

$cdata = ''
$curr_obj
$object_data = []
$reference_count

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