ILIAS  release_8 Revision v8.24
class.ilDclCopyFieldModel.php
Go to the documentation of this file.
1<?php
2
20{
22 $filter_value = "",
23 ?ilDclBaseFieldModel $sort_field = null
25 $join_str
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') . ") ";
30
31 $sql_obj = new ilDclRecordQueryObject();
32 $sql_obj->setJoinStatement($join_str);
33
34 return $sql_obj;
35 }
36
37 public function getValidFieldProperties(): array
38 {
39 return [
42 ];
43 }
44
45 public function getPresentationTitle(): string
46 {
47 return $this->lng->txt('dcl_copy_field');
48 }
49
50 public function getPresentationDescription(): string
51 {
52 return $this->lng->txt('dcl_copy_field_desc');
53 }
54}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
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.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...