ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilSoapRepositoryStructureObject.php
Go to the documentation of this file.
1
<?php
2
3
/*
4
+-----------------------------------------------------------------------------+
5
| ILIAS open source |
6
+-----------------------------------------------------------------------------+
7
| Copyright (c) 1998-2001 ILIAS open source, University of Cologne |
8
| |
9
| This program is free software; you can redistribute it and/or |
10
| modify it under the terms of the GNU General Public License |
11
| as published by the Free Software Foundation; either version 2 |
12
| of the License, or (at your option) any later version. |
13
| |
14
| This program is distributed in the hope that it will be useful, |
15
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
16
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
17
| GNU General Public License for more details. |
18
| |
19
| You should have received a copy of the GNU General Public License |
20
| along with this program; if not, write to the Free Software |
21
| Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
22
+-----------------------------------------------------------------------------+
23
*/
24
25
36
include_once
"./webservice/soap/classes/class.ilSoapStructureObject.php"
;
37
38
class
ilSoapRepositoryStructureObject
extends
ilSoapStructureObject
39
{
40
protected
$ref_id
;
41
50
public
function
__construct
($objId,
$type
,
$title
,
$description
, $refId)
51
{
52
parent::__construct($objId,
$type
,
$title
,
$description
);
53
$this->
setRefId
($refId);
54
}
55
60
public
function
setRefId
($value)
61
{
62
$this->ref_id= $value;
63
}
64
65
70
public
function
getRefId
()
71
{
72
return
$this->ref_id
;
73
}
74
75
public
function
getInternalLink
()
76
{
77
return
"[iln "
. $this->
getType
() .
"=\""
. $this->
getRefId
() .
"\"]"
. $this->
getTitle
() .
"[/iln]"
;
78
}
79
80
public
function
getGotoLink
()
81
{
82
return
ILIAS_HTTP_PATH .
"/"
.
"goto.php?target="
. $this->
getType
() .
"_"
. $this->
getRefId
() .
"&client_id="
. CLIENT_ID;
83
}
84
85
public
function
_getXMLAttributes
()
86
{
87
$attrs =
array
(
'type'
=> $this->
getType
(),
88
'obj_id'
=> $this->
getObjId
(),
89
'ref_id'
=> $this->
getRefId
());
90
91
return
$attrs;
92
}
93
94
public
function
_getTagName
()
95
{
96
return
"RepositoryObject"
;
97
}
98
}
ilSoapStructureObject\$description
$description
Definition:
class.ilSoapStructureObject.php:39
ilSoapRepositoryStructureObject\getGotoLink
getGotoLink()
Definition:
class.ilSoapRepositoryStructureObject.php:80
ilSoapStructureObject\getTitle
getTitle()
return current title
Definition:
class.ilSoapStructureObject.php:107
ilSoapRepositoryStructureObject\__construct
__construct($objId, $type, $title, $description, $refId)
Constructor.
Definition:
class.ilSoapRepositoryStructureObject.php:50
ilSoapStructureObject\$type
$type
Definition:
class.ilSoapStructureObject.php:38
ilSoapRepositoryStructureObject\setRefId
setRefId($value)
set current refId
Definition:
class.ilSoapRepositoryStructureObject.php:60
ilSoapRepositoryStructureObject\_getTagName
_getTagName()
Definition:
class.ilSoapRepositoryStructureObject.php:94
ilSoapRepositoryStructureObject
Definition:
class.ilSoapRepositoryStructureObject.php:38
ilSoapRepositoryStructureObject\getInternalLink
getInternalLink()
Definition:
class.ilSoapRepositoryStructureObject.php:75
ilSoapRepositoryStructureObject\_getXMLAttributes
_getXMLAttributes()
Definition:
class.ilSoapRepositoryStructureObject.php:85
ilSoapStructureObject
Definition:
class.ilSoapStructureObject.php:34
ilSoapStructureObject\$title
$title
Definition:
class.ilSoapStructureObject.php:37
ilSoapStructureObject\getObjId
getObjId()
return current object id
Definition:
class.ilSoapStructureObject.php:86
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
ilSoapRepositoryStructureObject\getRefId
getRefId()
return current ref id
Definition:
class.ilSoapRepositoryStructureObject.php:70
ilSoapRepositoryStructureObject\$ref_id
$ref_id
Definition:
class.ilSoapRepositoryStructureObject.php:40
ilSoapStructureObject\getType
getType()
return current type
Definition:
class.ilSoapStructureObject.php:146
webservice
soap
classes
class.ilSoapRepositoryStructureObject.php
Generated on Tue Jan 28 2025 19:01:47 for ILIAS by
1.8.13 (using
Doxyfile
)