59 $this->structureObjects [$structureObject->getObjId()] = $structureObject;
76 $this->obj_id= $value;
112 $this->description = $value;
131 $this->type = $value;
151 return ILIAS_HTTP_PATH.
"/".
"goto.php?target=".$this->getType().
"_".$this->
getObjId().(is_numeric ($this->
getParentRefId())?
"_".$this->getParentRefId():
"").
"&client_id=".CLIENT_ID;
169 return array(
'type' => $this->
getType(),
176 return "StructureObject";
204 $xml_writer->xmlStartTag($this->
_getTagName(), $attrs);
206 $xml_writer->xmlElement(
'Title',
null,$this->
getTitle());
207 $xml_writer->xmlElement(
'Description',
null,$this->
getDescription());
209 $xml_writer->xmlElement(
'GotoLink',
null,$this->
getGotoLink());
211 $xml_writer->xmlStartTag(
"StructureObjects");
216 foreach ($structureObjects as $structureObject)
218 $structureObject->exportXML ($xml_writer);
221 $xml_writer->xmlEndTag(
"StructureObjects");
setObjId($value)
set current ObjId
addStructureObject($structureObject)
add structure object to its parent
setTitle($value)
set current title
getInternalLink()
return current internal_link
setType($value)
set current type
getGotoLink()
return current goto_link
exportXML($xml_writer)
export to xml writer
ilSoapStructureObject($objId, $type, $title, $description, $parentRefId=null)
setDescription($value)
set current description
_getXMLAttributes()
get xml tag attributes
getStructureObjects()
returns sub structure elements
getObjId()
return current object id
getDescription()
return current description
getTitle()
return current title
getParentRefId()
read access to parents ref id
getType()
return current type
setParentRefId($parentRefId)
set ref id for parent object (used for permanent link if set)