ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilDclTableFieldSetting.php
Go to the documentation of this file.
1
<?
php
2
11
class
ilDclTableFieldSetting
extends
ActiveRecord
12
{
13
25
protected
$id
;
34
protected
$table_id
;
44
protected
$field
;
52
protected
$field_order
;
60
protected
$exportable
;
61
62
67
public
static
function
returnDbTableName
()
68
{
69
return
"il_dcl_tfield_set"
;
70
}
71
72
76
public
function
getId
()
77
{
78
return
$this->id
;
79
}
80
81
85
public
function
setId
(
$id
)
86
{
87
$this->
id
=
$id
;
88
}
89
90
94
public
function
getTableId
()
95
{
96
return
$this->table_id
;
97
}
98
99
103
public
function
setTableId
(
$table_id
)
104
{
105
$this->table_id =
$table_id
;
106
}
107
108
112
public
function
getField
()
113
{
114
return
$this->field
;
115
}
116
117
121
public
function
setField
(
$field
)
122
{
123
$this->field =
$field
;
124
}
125
126
130
public
function
getFieldOrder
()
131
{
132
return
$this->field_order
;
133
}
134
135
139
public
function
setFieldOrder
(
$field_order
)
140
{
141
$this->field_order =
$field_order
;
142
}
143
144
148
public
function
isExportable
()
149
{
150
return
$this->exportable
;
151
}
152
153
157
public
function
setExportable
(
$exportable
)
158
{
159
$this->exportable =
$exportable
;
160
}
161
162
169
public
static
function
getInstance
(
$table_id
,
$field
)
170
{
171
$setting = self::where(array(
'table_id'
=>
$table_id
,
'field'
=>
$field
))->first();
172
if
(!$setting) {
173
$setting =
new
self
();
174
$setting->setField(
$field
);
175
$setting->setTableId(
$table_id
);
176
}
177
178
return
$setting;
179
}
180
}
ilDclTableFieldSetting\getInstance
static getInstance($table_id, $field)
Definition:
class.ilDclTableFieldSetting.php:169
ilDclTableFieldSetting\getTableId
getTableId()
Definition:
class.ilDclTableFieldSetting.php:94
ilDclTableFieldSetting\setTableId
setTableId($table_id)
Definition:
class.ilDclTableFieldSetting.php:103
ilDclTableFieldSetting\isExportable
isExportable()
Definition:
class.ilDclTableFieldSetting.php:148
ActiveRecord
Class ActiveRecord.
Definition:
class.ActiveRecord.php:24
ilDclTableFieldSetting\getField
getField()
Definition:
class.ilDclTableFieldSetting.php:112
ilDclTableFieldSetting\$field_order
$field_order
Definition:
class.ilDclTableFieldSetting.php:52
ilDclTableFieldSetting\$field
$field
Definition:
class.ilDclTableFieldSetting.php:44
ilDclTableFieldSetting\setFieldOrder
setFieldOrder($field_order)
Definition:
class.ilDclTableFieldSetting.php:139
ilDclTableFieldSetting\setId
setId($id)
Definition:
class.ilDclTableFieldSetting.php:85
ilDclTableFieldSetting\setField
setField($field)
Definition:
class.ilDclTableFieldSetting.php:121
ilDclTableFieldSetting\$id
$id
Definition:
class.ilDclTableFieldSetting.php:25
ilDclTableFieldSetting\getFieldOrder
getFieldOrder()
Definition:
class.ilDclTableFieldSetting.php:130
ilDclTableFieldSetting\setExportable
setExportable($exportable)
Definition:
class.ilDclTableFieldSetting.php:157
ilDclTableFieldSetting\getId
getId()
Definition:
class.ilDclTableFieldSetting.php:76
ilDclTableFieldSetting\$table_id
$table_id
Definition:
class.ilDclTableFieldSetting.php:34
ilDclTableFieldSetting
Class ilDclTableFieldSetting.
Definition:
class.ilDclTableFieldSetting.php:11
php
ilDclTableFieldSetting\returnDbTableName
static returnDbTableName()
Definition:
class.ilDclTableFieldSetting.php:67
ilDclTableFieldSetting\$exportable
$exportable
Definition:
class.ilDclTableFieldSetting.php:60
Modules
DataCollection
classes
Table
class.ilDclTableFieldSetting.php
Generated on Thu Jan 16 2025 19:02:02 for ILIAS by
1.8.13 (using
Doxyfile
)