ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
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
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
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
k
l
m
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.ilSettingsTemplateConfig.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
3
11
class
ilSettingsTemplateConfig
12
{
13
private
$type
;
14
private
$tab
= array();
15
private
$setting
= array();
16
17
const
TEXT
=
"text"
;
18
const
SELECT
=
"select"
;
19
const
BOOL
=
"bool"
;
20
const
CHECKBOX
=
"check"
;
21
27
function
__construct
($a_obj_type)
28
{
29
$this->
setType
($a_obj_type);
30
}
31
37
public
function
setType
($a_val)
38
{
39
$this->type = $a_val;
40
}
41
47
public
function
getType
()
48
{
49
return
$this->type
;
50
}
51
58
function
addHidableTab
($a_tab_id, $a_text)
59
{
60
$this->tabs[$a_tab_id] = array(
61
"id"
=> $a_tab_id,
62
"text"
=> $a_text
63
);
64
}
65
69
function
getHidableTabs
()
70
{
71
return
$this->tabs;
72
}
73
80
function
addSetting
($a_id, $a_type, $a_text, $a_hidable, $a_length = 0, $a_options = array())
81
{
82
$this->setting[$a_id] = array(
83
"id"
=> $a_id,
84
"type"
=> $a_type,
85
"text"
=> $a_text,
86
"hidable"
=> $a_hidable,
87
"length"
=> $a_length,
88
"options"
=> $a_options
89
);
90
}
91
96
function
getSettings
()
97
{
98
return
$this->setting
;
99
}
100
}
101
102
?>
ilSettingsTemplateConfig\CHECKBOX
const CHECKBOX
Definition:
class.ilSettingsTemplateConfig.php:20
ilSettingsTemplateConfig\getType
getType()
Get type.
Definition:
class.ilSettingsTemplateConfig.php:47
ilSettingsTemplateConfig\$setting
$setting
Definition:
class.ilSettingsTemplateConfig.php:15
ilSettingsTemplateConfig\SELECT
const SELECT
Definition:
class.ilSettingsTemplateConfig.php:18
ilSettingsTemplateConfig\setType
setType($a_val)
Set type.
Definition:
class.ilSettingsTemplateConfig.php:37
ilSettingsTemplateConfig\addHidableTab
addHidableTab($a_tab_id, $a_text)
Add hidable tabs.
Definition:
class.ilSettingsTemplateConfig.php:58
ilSettingsTemplateConfig\getHidableTabs
getHidableTabs()
Get hidable tabs.
Definition:
class.ilSettingsTemplateConfig.php:69
ilSettingsTemplateConfig\addSetting
addSetting($a_id, $a_type, $a_text, $a_hidable, $a_length=0, $a_options=array())
Add setting.
Definition:
class.ilSettingsTemplateConfig.php:80
ilSettingsTemplateConfig\$type
$type
Definition:
class.ilSettingsTemplateConfig.php:13
ilSettingsTemplateConfig
Settings template config class.
Definition:
class.ilSettingsTemplateConfig.php:11
ilSettingsTemplateConfig\$tab
$tab
Definition:
class.ilSettingsTemplateConfig.php:14
ilSettingsTemplateConfig\__construct
__construct($a_obj_type)
Constructor.
Definition:
class.ilSettingsTemplateConfig.php:27
ilSettingsTemplateConfig\getSettings
getSettings()
Get settings.
Definition:
class.ilSettingsTemplateConfig.php:96
ilSettingsTemplateConfig\TEXT
const TEXT
Definition:
class.ilSettingsTemplateConfig.php:17
ilSettingsTemplateConfig\BOOL
const BOOL
Definition:
class.ilSettingsTemplateConfig.php:19
Services
Administration
classes
class.ilSettingsTemplateConfig.php
Generated on Mon Apr 7 2025 19:00:46 for ILIAS by
1.8.13 (using
Doxyfile
)