26 =
"INNER JOIN il_dcl_record_field AS filter_record_field_{$this->getId()} ON (filter_record_field_{$this->getId()}.record_id = record.id AND filter_record_field_{$this->getId()}.field_id = "
27 . $this->db->quote($this->
getId(),
'integer') .
") ";
28 $join_str .=
"INNER JOIN il_dcl_stloc{$this->getStorageLocation()}_value AS filter_stloc_{$this->getId()} ON (filter_stloc_{$this->getId()}.record_field_id = filter_record_field_{$this->getId()}.id AND filter_stloc_{$this->getId()}.value LIKE "
29 . $this->db->quote(
"%$filter_value%",
'text') .
") ";
32 $sql_obj->setJoinStatement($join_str);
45 public function afterClone(array $records): void
55 $this->updateProperties();
57 parent::afterClone($records);
62 return $this->
lng->txt(
'dcl_copy_field');
67 return $this->
lng->txt(
'dcl_copy_field_desc');
static getCloneOf(int $id, string $type)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getPresentationDescription()
getRecordQueryFilterObject( $filter_value="", ?ilDclBaseFieldModel $sort_field=null)
Returns a query-object for building the record-loader-sql-query.
getValidFieldProperties()
Returns all valid properties for a field-type.