ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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 More...
 
 getRefId ()
 return current ref id More...
 
 getInternalLink ()
 return current internal_link More...
 
 getGotoLink ()
 return current goto_link More...
 
 _getXMLAttributes ()
 get xml tag attributes More...
 
 _getTagName ()
 
- Public Member Functions inherited from ilSoapStructureObject
 ilSoapStructureObject ($objId, $type, $title, $description, $parentRefId=null)
 
 addStructureObject ($structureObject)
 add structure object to its parent More...
 
 getStructureObjects ()
 returns sub structure elements More...
 
 setObjId ($value)
 set current ObjId More...
 
 getObjId ()
 return current object id More...
 
 setTitle ($value)
 set current title More...
 
 getTitle ()
 return current title More...
 
 setDescription ($value)
 set current description More...
 
 getDescription ()
 return current description More...
 
 setType ($value)
 set current type More...
 
 getType ()
 return current type More...
 
 getGotoLink ()
 return current goto_link More...
 
 getInternalLink ()
 return current internal_link More...
 
 _getXMLAttributes ()
 get xml tag attributes More...
 
 _getTagName ()
 
 setParentRefId ($parentRefId)
 set ref id for parent object (used for permanent link if set) More...
 
 getParentRefId ()
 read access to parents ref id More...
 
 exportXML ($xml_writer)
 export to xml writer More...
 

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

◆ _getTagName()

ilSoapRepositoryStructureObject::_getTagName ( )

Reimplemented from ilSoapStructureObject.

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

81 {
82 return "RepositoryObject";
83 }

◆ _getXMLAttributes()

ilSoapRepositoryStructureObject::_getXMLAttributes ( )

get xml tag attributes

Reimplemented from ilSoapStructureObject.

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

72 {
73 $attrs = array( 'type' => $this->getType(),
74 'obj_id' => $this->getObjId(),
75 'ref_id' => $this->getRefId());
76
77 return $attrs;
78
79 }
getObjId()
return current object id

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

+ Here is the call graph for this function:

◆ getGotoLink()

ilSoapRepositoryStructureObject::getGotoLink ( )

return current goto_link

Reimplemented from ilSoapStructureObject.

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

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

References getRefId().

+ Here is the call graph for this function:

◆ getInternalLink()

ilSoapRepositoryStructureObject::getInternalLink ( )

return current internal_link

Reimplemented from ilSoapStructureObject.

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

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

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

+ Here is the call graph for this function:

◆ getRefId()

ilSoapRepositoryStructureObject::getRefId ( )

return current ref id

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

References $ref_id.

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

+ Here is the caller graph for this function:

◆ ilSoapRepositoryStructureObject()

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

◆ setRefId()

ilSoapRepositoryStructureObject::setRefId (   $value)

set current refId

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

50 {
51 $this->ref_id= $value;
52 }

Referenced by ilSoapRepositoryStructureObject().

+ Here is the caller graph for this function:

Field Documentation

◆ $ref_id

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: