39 if ($classname != null)
40 switch ($object->getType())
44 return new $classname(
45 $object->getId(), $object->getType(), $object->getTitle(),
46 $object->getLongDescription(), $object->getRefId());
55 if ($classname == null)
58 return new $classname($objId, $type,
$title, $description, $parentRefId);
66 include_once
"./webservice/soap/classes/class.ilSoapRepositoryStructureObject.php";
67 return "ilSoapRepositoryStructureObject";
69 include_once
"./webservice/soap/classes/class.ilSoapLMChapterStructureObject.php";
70 return "ilSoapLMChapterStructureObject";
72 include_once
"./webservice/soap/classes/class.ilSoapLMPageStructureObject.php";
73 return "ilSoapLMPageStructureObject";
75 include_once
"./webservice/soap/classes/class.ilSoapRepositoryStructureObject.php";
76 return "ilSoapRepositoryStructureObject";
78 include_once
"./webservice/soap/classes/class.ilSoapGLOTermStructureObject.php";
79 return "ilSoapGLOTermStructureObject";
81 include_once
"./webservice/soap/classes/class.ilSoapGLOTermDefinitionStructureObject.php";
82 return "ilSoapGLOTermDefinitionStructureObject";