ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
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
32
include_once
"./webservice/soap/classes/class.ilSoapStructureObject.php"
;
33
34
class
ilSoapRepositoryStructureObject
extends
ilSoapStructureObject
35
{
36
protected
int
$ref_id
= 0;
37
38
public
function
__construct
(
int
$objId
,
string
$type
,
string
$title
,
string
$description
, ?
int
$refId
= null)
39
{
40
parent::__construct
($objId, $type, $title, $description);
41
$this->
setRefId
(
$refId
);
42
}
43
44
public
function
setRefId
(
int
$value) : void
45
{
46
$this->ref_id = $value;
47
}
48
49
public
function
getRefId
() :
int
50
{
51
return
$this->ref_id
;
52
}
53
54
public
function
getInternalLink
() : string
55
{
56
return
"[iln "
. $this->
getType
() .
"=\""
. $this->
getRefId
() .
"\"]"
. $this->
getTitle
() .
"[/iln]"
;
57
}
58
59
public
function
getGotoLink
() : string
60
{
61
return
ILIAS_HTTP_PATH .
"/"
.
"goto.php?target="
. $this->
getType
() .
"_"
. $this->
getRefId
() .
"&client_id="
.
CLIENT_ID
;
62
}
63
67
public
function
_getXMLAttributes
() : array
68
{
69
return
[
70
'type'
=> $this->
getType
(),
71
'obj_id'
=> $this->
getObjId
(),
72
'ref_id'
=> $this->
getRefId
()
73
];
74
}
75
76
public
function
_getTagName
() : string
77
{
78
return
"RepositoryObject"
;
79
}
80
}
ilSoapRepositoryStructureObject\setRefId
setRefId(int $value)
Definition:
class.ilSoapRepositoryStructureObject.php:44
ilSoapRepositoryStructureObject\getGotoLink
getGotoLink()
Definition:
class.ilSoapRepositoryStructureObject.php:59
ilSoapStructureObject\$title
string $title
Definition:
class.ilSoapStructureObject.php:31
ilSoapStructureObject\getTitle
getTitle()
Definition:
class.ilSoapStructureObject.php:72
ilSoapRepositoryStructureObject\_getTagName
_getTagName()
Definition:
class.ilSoapRepositoryStructureObject.php:76
ilSoapRepositoryStructureObject
Definition:
class.ilSoapRepositoryStructureObject.php:34
$objId
$objId
Definition:
xapitoken.php:57
ilSoapRepositoryStructureObject\getInternalLink
getInternalLink()
Definition:
class.ilSoapRepositoryStructureObject.php:54
ilSoapRepositoryStructureObject\_getXMLAttributes
_getXMLAttributes()
Definition:
class.ilSoapRepositoryStructureObject.php:67
$refId
$refId
Definition:
xapitoken.php:58
ilSoapRepositoryStructureObject\$ref_id
int $ref_id
Definition:
class.ilSoapRepositoryStructureObject.php:36
ilSoapStructureObject
Abstract classs for soap structure objects.
Definition:
class.ilSoapStructureObject.php:28
ilSoapStructureObject\$type
string $type
Definition:
class.ilSoapStructureObject.php:32
ilSoapStructureObject\getObjId
getObjId()
Definition:
class.ilSoapStructureObject.php:62
CLIENT_ID
const CLIENT_ID
Definition:
constants.php:41
ilSoapStructureObject\$description
string $description
Definition:
class.ilSoapStructureObject.php:33
ilSoapRepositoryStructureObject\__construct
__construct(int $objId, string $type, string $title, string $description, ?int $refId=null)
Definition:
class.ilSoapRepositoryStructureObject.php:38
ilSoapRepositoryStructureObject\getRefId
getRefId()
Definition:
class.ilSoapRepositoryStructureObject.php:49
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ilSoapStructureObject\getType
getType()
Definition:
class.ilSoapStructureObject.php:92
webservice
soap
classes
class.ilSoapRepositoryStructureObject.php
Generated on Sun Apr 6 2025 22:03:09 for ILIAS by
1.8.13 (using
Doxyfile
)