ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilDclRecordQueryObject.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22{
23 protected string $selectStatement = "";
24 protected string $joinStatement = "";
25 protected string $whereStatement = "";
26 protected string $groupStatement = "";
27 protected string $orderStatement = "";
28
29 public function getSelectStatement(): string
30 {
32 }
33
34 public function setSelectStatement(string $selectStatement): void
35 {
36 $this->selectStatement = " " . $selectStatement;
37 }
38
39 public function getJoinStatement(): string
40 {
42 }
43
44 public function setJoinStatement(string $joinStatement): void
45 {
46 $this->joinStatement = " " . $joinStatement;
47 }
48
49 public function getWhereStatement(): string
50 {
52 }
53
54 public function setWhereStatement(string $whereStatement): void
55 {
56 $this->whereStatement = " " . $whereStatement;
57 }
58
59 public function getGroupStatement(): string
60 {
62 }
63
64 public function setGroupStatement(string $groupStatement): void
65 {
66 $this->groupStatement = " " . $groupStatement;
67 }
68
69 public function getOrderStatement(): string
70 {
72 }
73
74 public function setOrderStatement(string $orderStatement): void
75 {
76 $this->orderStatement = " " . $orderStatement;
77 }
78
82 public function applyCustomSorting(
84 array $all_records,
85 string $direction = 'asc'
86 ): array {
87 return $all_records;
88 }
89}
setGroupStatement(string $groupStatement)
applyCustomSorting(ilDclBaseFieldModel $field, array $all_records, string $direction='asc')
Apply custom sorting.
setJoinStatement(string $joinStatement)
setWhereStatement(string $whereStatement)
setOrderStatement(string $orderStatement)
setSelectStatement(string $selectStatement)
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...