60        $this->structureObjects [$structureObject->getObjId()] =  $structureObject;
 
   79        $this->obj_id= $value;
 
  118        $this->description = $value;
 
  138        $this->type = $value;
 
  176        return array(   
'type' => $this->
getType(),
 
  183        return "StructureObject";
 
  212        $xml_writer->xmlStartTag($this->
_getTagName(), $attrs);
 
  214        $xml_writer->xmlElement(
'Title', 
null, $this->
getTitle());
 
  215        $xml_writer->xmlElement(
'Description', 
null, $this->
getDescription());
 
  216        $xml_writer->xmlElement(
'InternalLink', 
null, $this->
getInternalLink());
 
  217        $xml_writer->xmlElement(
'GotoLink', 
null, $this->
getGotoLink());
 
  219        $xml_writer->xmlStartTag(
"StructureObjects");
 
  225            $structureObject->exportXML($xml_writer);
 
  228        $xml_writer->xmlEndTag(
"StructureObjects");
 
An exception for terminatinating execution or to throw for unit testing.
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
setDescription($value)
set current description
_getXMLAttributes()
get xml tag attributes
getStructureObjects()
returns sub structure elements
__construct($objId, $type, $title, $description, $parentRefId=null)
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)