85 return "il_dcl_tview_set";
222 if ($field_name ==
'filter_value' && is_array($this->filter_value)) {
223 return json_encode($this->filter_value);
236 public function wakeUp($field_name, $field_value)
238 if ($field_name ==
'filter_value') {
240 $json = json_decode($field_value,
true);
241 if (is_array($json)) {
242 foreach ($json as
$key => $value) {
243 $return[
'filter_' . $this->
getField() .
'_' .
$key] = $value;
246 $return = array(
'filter_' . $this->
getField() => $field_value);
271 if (is_numeric($this->field)) {
277 $stdfield->setId($this->field);
279 $stdfield->setTitle(
$lng->txt(
'dcl_' . $this->field));
294 if ($setting = self::where(array(
'field' => $field_id,
'tableview_id' =>
$tableview_id))->
first()) {
297 $setting =
new self();
298 $setting->setField($field_id);
setFilterValue($filter_value)
wakeUp($field_name, $field_value)
static getFieldCache($field_id=0)
setTableviewId($tableview_id)
cloneStructure(ilDclTableViewFieldSetting $orig)
static _getDatatypeForId($id)
gives you the datatype id of a specified standard field.
Class ilDclTableViewFieldSetting.
static getInstance($tableview_id, $field_id)
Class ilDclBaseFieldModel.
setFilterChangeable($filter_changeable)
static returnDbTableName()