40 if ($classname != null) {
41 switch ($object->getType()) {
44 return new $classname(
48 $object->getLongDescription(),
60 if ($classname == null) {
71 include_once
"./webservice/soap/classes/class.ilSoapRepositoryStructureObject.php";
72 return "ilSoapRepositoryStructureObject";
74 include_once
"./webservice/soap/classes/class.ilSoapLMChapterStructureObject.php";
75 return "ilSoapLMChapterStructureObject";
77 include_once
"./webservice/soap/classes/class.ilSoapLMPageStructureObject.php";
78 return "ilSoapLMPageStructureObject";
80 include_once
"./webservice/soap/classes/class.ilSoapRepositoryStructureObject.php";
81 return "ilSoapRepositoryStructureObject";
83 include_once
"./webservice/soap/classes/class.ilSoapGLOTermStructureObject.php";
84 return "ilSoapGLOTermStructureObject";
86 include_once
"./webservice/soap/classes/class.ilSoapGLOTermDefinitionStructureObject.php";
87 return "ilSoapGLOTermDefinitionStructureObject";
_getClassnameForType($type)
getInstanceForObject($object)
getInstance($objId, $type, $title, $description, $parentRefId)