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.ilObjPollListGUI.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
include_once
"Services/Object/classes/class.ilObjectListGUI.php"
;
6
15
class
ilObjPollListGUI
extends
ilObjectListGUI
16
{
20
public
function
init
()
21
{
22
$this->copy_enabled =
false
;
23
$this->delete_enabled =
true
;
24
$this->cut_enabled =
false
;
25
$this->subscribe_enabled =
false
;
26
$this->link_enabled =
false
;
27
$this->info_screen_enabled =
true
;
28
$this->type =
"poll"
;
29
$this->gui_class_name =
"ilobjpollgui"
;
30
31
// general commands array
32
include_once(
'./Modules/Poll/classes/class.ilObjPollAccess.php'
);
33
$this->commands =
ilObjPollAccess::_getCommands
();
34
}
35
44
public
function
getProperties
()
45
{
46
$lng
=
$this->lng
;
47
48
// BEGIN ChangeEvent: Get parent properties
49
$props = parent::getProperties();
50
// END ChangeEvent: Get parent properties
51
52
// offline
53
include_once
'Modules/Poll/classes/class.ilObjPollAccess.php'
;
54
if
(!
ilObjPollAccess::_lookupOnline
($this->obj_id)) {
55
$props[] = array(
"alert"
=>
true
,
"property"
=>
$lng
->txt(
"status"
),
56
"value"
=>
$lng
->txt(
"offline"
));
57
}
58
59
return
$props;
60
}
61
}
ilObjPollAccess\_getCommands
static _getCommands()
get commands
Definition:
class.ilObjPollAccess.php:143
ilObjectListGUI\$lng
$lng
Definition:
class.ilObjectListGUI.php:33
ilObjectListGUI
Class ilObjectListGUI.
Definition:
class.ilObjectListGUI.php:23
ilObjPollListGUI\getProperties
getProperties()
Get item properties.
Definition:
class.ilObjPollListGUI.php:44
ilObjPollListGUI
Class ilObjPollListGUI.
Definition:
class.ilObjPollListGUI.php:15
ilObjPollAccess\_lookupOnline
static _lookupOnline($a_obj_id)
get status
Definition:
class.ilObjPollAccess.php:94
ilObjPollListGUI\init
init()
initialisation
Definition:
class.ilObjPollListGUI.php:20
Modules
Poll
classes
class.ilObjPollListGUI.php
Generated on Thu Apr 10 2025 21:01:12 for ILIAS by
1.8.13 (using
Doxyfile
)