Stud.IP  4.2 Revision
Ilias3ObjectXMLParser Class Reference
Inheritance diagram for Ilias3ObjectXMLParser:
Inheritance graph
Collaboration diagram for Ilias3ObjectXMLParser:
Collaboration graph

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 = array()
 
- Data Fields inherited from Ilias3SaxParser
 $input_type = null
 
 $xml_content = ''
 
 $ilias
 
 $lng
 
 $xml_file
 

Constructor & Destructor Documentation

◆ __construct()

__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
Here is the call graph for this function:

Member Function Documentation

◆ __addOperation()

__addOperation (   $a_value)
Here is the caller graph for this function:

◆ __addProperty()

__addProperty (   $a_name,
  $a_value 
)
Here is the caller graph for this function:

◆ __addReference()

__addReference (   $a_value,
  $a_accessinfo = "" 
)
Here is the caller graph for this function:

◆ getObjectData()

getObjectData ( )

◆ handlerBeginTag()

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
Here is the call graph for this function:

◆ handlerCharacterData()

handlerCharacterData (   $a_xml_parser,
  $a_data 
)

handler for character data

Parameters
resource$a_xml_parserxml parser
string$a_datacharacter data

◆ handlerEndTag()

handlerEndTag (   $a_xml_parser,
  $a_name 
)

handler for end of element

Parameters
resource$a_xml_parserxml parser
string$a_nameelement name
Here is the call graph for this function:

◆ setHandlers()

setHandlers (   $a_xml_parser)

set event handlers

Parameters
resourcereference to the xml parser private

Field Documentation

◆ $object_data

$object_data = array()

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