ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
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
$a_type
$a_type
Definition:
workflow.php:93
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
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
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
php
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 Fri Jan 17 2025 19:01:07 for ILIAS by
1.8.13 (using
Doxyfile
)