ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilSoapGLOStructureReader Class Reference
+ Inheritance diagram for ilSoapGLOStructureReader:
+ Collaboration diagram for ilSoapGLOStructureReader:

Public Member Functions

 _parseStructure ()
 
- Public Member Functions inherited from ilSoapStructureReader
 __construct (& $object)
 
 getStructureObject ()
 
 _parseStructure ()
 
 isValid ()
 
 getObject ()
 read access to parent object More...
 

Additional Inherited Members

- Data Fields inherited from ilSoapStructureReader
 $object
 
 $structureObject
 

Detailed Description

Definition at line 39 of file class.ilSoapGLOStructureReader.php.

Member Function Documentation

◆ _parseStructure()

ilSoapGLOStructureReader::_parseStructure ( )

Reimplemented from ilSoapStructureReader.

Definition at line 41 of file class.ilSoapGLOStructureReader.php.

42 {
43 /* @var $object ilObjGlossary */
44
45 $terms = $this->object->getTermlist();
46
47 foreach ($terms as $term)
48 {
49
50 /* @var $termStructureObject ilSoapGLOTermStructureObject*/
51 $termStructureObject = ilSoapStructureObjectFactory::getInstance (
52 $term["id"], "git", $term["term"], "", $this->getObject()->getRefId());
53
54 $this->structureObject->addStructureObject($termStructureObject);
55
56 $defs = ilGlossaryDefinition::getDefinitionList($term["id"]);
57
58 foreach ($defs as $def) {
60 $def["id"], "gdf", $def["short_text"], "", $this->getObject()->getRefId());
61
62 $termStructureObject->addStructureObject($defStructureObject);
63 }
64
65 // print_r($defs);
66
67 }
68
69
70 }
static getDefinitionList($a_term_id)
static
getInstance($objId, $type, $title, $description, $parentRefId)
getObject()
read access to parent object

References ilGlossaryDefinition\getDefinitionList(), ilSoapStructureObjectFactory\getInstance(), and ilSoapStructureReader\getObject().

+ Here is the call graph for this function:

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