34include_once 
'./webservice/soap/classes/class.ilSoapAdministration.php';
 
   43                if(!$this->__checkSession($sid))
 
   50                        return $this->
__raiseError(
'No valid reference id given.', 
'Client');
 
   53                $structureReaderClassname = 
"ilSoap".strtoupper($target_obj->getType()).
"StructureReader";
 
   54                $filename = 
"./webservice/soap/classes/class.".$structureReaderClassname.
".php";
 
   58                        return $this->
__raiseError(
"Object type '".$target_obj->getType().
"'is not supported.", 
'Client');
 
   63                $structureReader = 
new $structureReaderClassname($target_obj);
 
   65                include_once 
'./webservice/soap/classes/class.ilSoapStructureObjectXMLWriter.php';
 
   69                $structureObject = & $structureReader->getStructureObject();
 
   71                $xml_writer->setStructureObject ($structureObject);
 
   73                if(!$xml_writer->start())
 
   75                        return $this->
__raiseError(
'Cannot create object xml !',
'Server');
 
   78                return $xml_writer->getXML();
 
An exception for terminatinating execution or to throw for unit testing.
static getInstanceByRefId($a_ref_id, $stop_on_error=true)
get an instance of an Ilias object by reference id
getStructureObjects($sid, $ref_id)
initAuth($sid)
Init authentication.
__raiseError($a_message, $a_code)