ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilSoapRepositoryStructureObject Class Reference
+ Inheritance diagram for ilSoapRepositoryStructureObject:
+ Collaboration diagram for ilSoapRepositoryStructureObject:

Public Member Functions

 ilSoapRepositoryStructureObject ($objId, $type, $title, $description, $refId)
 setRefId ($value)
 set current refId
 getRefId ()
 return current ref id
 getInternalLink ()
 return current internal_link
 getGotoLink ()
 return current goto_link
 _getXMLAttributes ()
 get xml tag attributes
 _getTagName ()
- Public Member Functions inherited from ilSoapStructureObject
 ilSoapStructureObject ($objId, $type, $title, $description, $parentRefId=null)
 addStructureObject ($structureObject)
 add structure object to its parent
 getStructureObjects ()
 returns sub structure elements
 setObjId ($value)
 set current ObjId
 getObjId ()
 return current object id
 setTitle ($value)
 set current title
 getTitle ()
 return current title
 setDescription ($value)
 set current description
 getDescription ()
 return current description
 setType ($value)
 set current type
 getType ()
 return current type
 setParentRefId ($parentRefId)
 set ref id for parent object (used for permanent link if set)
 getParentRefId ()
 read access to parents ref id
 exportXML ($xml_writer)
 export to xml writer

Data Fields

 $ref_id
- Data Fields inherited from ilSoapStructureObject
 $obj_id
 $title
 $type
 $description
 $parentRefId
 $structureObjects = array ()

Detailed Description

Definition at line 38 of file class.ilSoapRepositoryStructureObject.php.

Member Function Documentation

ilSoapRepositoryStructureObject::_getTagName ( )

Reimplemented from ilSoapStructureObject.

Definition at line 81 of file class.ilSoapRepositoryStructureObject.php.

{
return "RepositoryObject";
}
ilSoapRepositoryStructureObject::_getXMLAttributes ( )

get xml tag attributes

Reimplemented from ilSoapStructureObject.

Definition at line 72 of file class.ilSoapRepositoryStructureObject.php.

References ilSoapStructureObject\getObjId(), getRefId(), and ilSoapStructureObject\getType().

{
$attrs = array( 'type' => $this->getType(),
'obj_id' => $this->getObjId(),
'ref_id' => $this->getRefId());
return $attrs;
}

+ Here is the call graph for this function:

ilSoapRepositoryStructureObject::getGotoLink ( )

return current goto_link

Reimplemented from ilSoapStructureObject.

Definition at line 68 of file class.ilSoapRepositoryStructureObject.php.

References getRefId().

{
return ILIAS_HTTP_PATH."/". "goto.php?target=".$this->getType()."_".$this->getRefId()."&client_id=".CLIENT_ID;
}

+ Here is the call graph for this function:

ilSoapRepositoryStructureObject::getInternalLink ( )

return current internal_link

Reimplemented from ilSoapStructureObject.

Definition at line 64 of file class.ilSoapRepositoryStructureObject.php.

References getRefId(), and ilSoapStructureObject\getTitle().

{
return "[iln ".$this->getType()."=\"".$this->getRefId()."\"]".$this->getTitle()."[/iln]";
}

+ Here is the call graph for this function:

ilSoapRepositoryStructureObject::getRefId ( )

return current ref id

Definition at line 59 of file class.ilSoapRepositoryStructureObject.php.

References $ref_id.

Referenced by _getXMLAttributes(), getGotoLink(), and getInternalLink().

{
return $this->ref_id;
}

+ Here is the caller graph for this function:

ilSoapRepositoryStructureObject::ilSoapRepositoryStructureObject (   $objId,
  $type,
  $title,
  $description,
  $refId 
)
ilSoapRepositoryStructureObject::setRefId (   $value)

set current refId

Definition at line 50 of file class.ilSoapRepositoryStructureObject.php.

Referenced by ilSoapRepositoryStructureObject().

{
$this->ref_id= $value;
}

+ Here is the caller graph for this function:

Field Documentation

ilSoapRepositoryStructureObject::$ref_id

Definition at line 39 of file class.ilSoapRepositoryStructureObject.php.

Referenced by getRefId().


The documentation for this class was generated from the following file: