ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
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
q
r
s
t
u
v
w
x
z
+
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
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilCmiXapiAbstractReportLinkBuilder.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
15
abstract
class
ilCmiXapiAbstractReportLinkBuilder
16
{
20
protected
$objId
;
21
25
protected
$aggregateEndPoint
;
26
30
protected
$filter
;
31
32
protected
$obj
;
33
41
public
function
__construct
(
42
$obj
,
43
$aggregateEndPoint
,
44
ilCmiXapiStatementsReportFilter
$filter
45
) {
46
$this->obj =
$obj
;
47
$this->objId =
$obj
->getID();
48
$this->aggregateEndPoint =
$aggregateEndPoint
;
49
$this->
filter
=
$filter
;
50
}
51
55
public
function
getUrl
()
56
{
57
$url
=
$this->aggregateEndPoint
;
58
$url
= $this->
appendRequestParameters
(
$url
);
59
return
$url
;
60
}
61
66
protected
function
appendRequestParameters
(
$url
)
67
{
68
$url
=
ilUtil::appendUrlParameterString
(
$url
, $this->
buildPipelineParameter
());
69
70
return
$url
;
71
}
72
76
protected
function
buildPipelineParameter
()
77
{
78
$pipeline = urlencode(json_encode($this->
buildPipeline
()));
79
return
"pipeline={$pipeline}"
;
80
}
81
85
abstract
protected
function
buildPipeline
() : array;
86
90
public
function
getObjId
()
91
{
92
return
$this->objId
;
93
}
94
98
public
function
getAggregateEndPoint
()
99
{
100
return
$this->aggregateEndPoint
;
101
}
102
106
public
function
getObj
()
107
{
108
return
$this->obj
;
109
}
110
}
ilCmiXapiAbstractReportLinkBuilder\appendRequestParameters
appendRequestParameters($url)
Definition:
class.ilCmiXapiAbstractReportLinkBuilder.php:66
ilCmiXapiAbstractReportLinkBuilder\getAggregateEndPoint
getAggregateEndPoint()
Definition:
class.ilCmiXapiAbstractReportLinkBuilder.php:98
ilCmiXapiAbstractReportLinkBuilder\__construct
__construct( $obj, $aggregateEndPoint, ilCmiXapiStatementsReportFilter $filter)
ilCmiXapiAbstractReportLinkBuilder constructor.
Definition:
class.ilCmiXapiAbstractReportLinkBuilder.php:41
ilCmiXapiStatementsReportFilter
Definition:
class.ilCmiXapiStatementsReportFilter.php:15
ilCmiXapiAbstractReportLinkBuilder\buildPipeline
buildPipeline()
ilCmiXapiAbstractReportLinkBuilder
Definition:
class.ilCmiXapiAbstractReportLinkBuilder.php:15
ilUtil\appendUrlParameterString
static appendUrlParameterString($a_url, $a_par, $xml_style=false)
append URL parameter string ("par1=value1&par2=value2...") to given URL string
Definition:
class.ilUtil.php:2135
ilCmiXapiAbstractReportLinkBuilder\getUrl
getUrl()
Definition:
class.ilCmiXapiAbstractReportLinkBuilder.php:55
ilCmiXapiAbstractReportLinkBuilder\$objId
$objId
Definition:
class.ilCmiXapiAbstractReportLinkBuilder.php:20
ilCmiXapiAbstractReportLinkBuilder\$aggregateEndPoint
$aggregateEndPoint
Definition:
class.ilCmiXapiAbstractReportLinkBuilder.php:25
ilCmiXapiAbstractReportLinkBuilder\buildPipelineParameter
buildPipelineParameter()
Definition:
class.ilCmiXapiAbstractReportLinkBuilder.php:76
ilCmiXapiAbstractReportLinkBuilder\$filter
$filter
Definition:
class.ilCmiXapiAbstractReportLinkBuilder.php:30
ilCmiXapiAbstractReportLinkBuilder\getObjId
getObjId()
Definition:
class.ilCmiXapiAbstractReportLinkBuilder.php:90
$url
$url
Definition:
proxy_ylocal.php:28
ilCmiXapiAbstractReportLinkBuilder\$obj
$obj
Definition:
class.ilCmiXapiAbstractReportLinkBuilder.php:32
filter
filter()
Definition:
filter.php:2
ilCmiXapiAbstractReportLinkBuilder\getObj
getObj()
Definition:
class.ilCmiXapiAbstractReportLinkBuilder.php:106
Modules
CmiXapi
classes
XapiReport
class.ilCmiXapiAbstractReportLinkBuilder.php
Generated on Thu Apr 3 2025 21:00:52 for ILIAS by
1.8.13 (using
Doxyfile
)