ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ 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
s
t
w
+
Functions
_
a
b
c
f
g
h
i
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.ilDclRatingRecordRepresentation.php
Go to the documentation of this file.
1
<?php
2
9
class
ilDclRatingRecordRepresentation
extends
ilDclBaseRecordRepresentation
10
{
11
17
public
function
getHTML
($link =
true
)
18
{
19
global
$DIC
;
20
$ilCtrl
= $DIC[
'ilCtrl'
];
21
$rgui =
new
ilRatingGUI
();
22
$rgui->setObject($this->
getRecordField
()->
getRecord
()->getId(),
"dcl_record"
, $this->
getRecordField
()->
getField
()->getId(),
"dcl_field"
);
23
$ilCtrl
->setParameterByClass(
"ilratinggui"
,
"field_id"
, $this->
getRecordField
()->
getField
()->getId());
24
$ilCtrl
->setParameterByClass(
"ilratinggui"
,
"record_id"
, $this->
getRecordField
()->
getRecord
()->getId());
25
$html = $rgui->getHTML();
26
27
return
$html;
28
}
29
30
34
public
function
fillFormInput
($form)
35
{
36
// explicitly do nothing. the value is handled via the model and gui of ilRating.
37
}
38
}
ilDclBaseRecordRepresentation\getRecord
getRecord()
Getter shortcut for record.
Definition:
class.ilDclBaseRecordRepresentation.php:155
ilDclRatingRecordRepresentation\fillFormInput
fillFormInput($form)
Definition:
class.ilDclRatingRecordRepresentation.php:34
ilDclBaseRecordRepresentation\getField
getField()
Getter shortcut for field.
Definition:
class.ilDclBaseRecordRepresentation.php:144
$ilCtrl
global $ilCtrl
Definition:
ilias.php:18
ilRatingGUI
Class ilRatingGUI.
Definition:
class.ilRatingGUI.php:17
ilDclBaseRecordRepresentation
Class ilDclBaseRecordRepresentation.
Definition:
class.ilDclBaseRecordRepresentation.php:10
ilDclBaseRecordRepresentation\getRecordField
getRecordField()
Get Record Field.
Definition:
class.ilDclBaseRecordRepresentation.php:133
$DIC
$DIC
Definition:
xapitoken.php:46
ilDclRatingRecordRepresentation
Class ilDclMobRecordRepresentation.
Definition:
class.ilDclRatingRecordRepresentation.php:9
ilDclRatingRecordRepresentation\getHTML
getHTML($link=true)
Return rating html.
Definition:
class.ilDclRatingRecordRepresentation.php:17
Modules
DataCollection
classes
Fields
Rating
class.ilDclRatingRecordRepresentation.php
Generated on Tue Apr 8 2025 20:00:59 for ILIAS by
1.8.13 (using
Doxyfile
)