ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilDclRecordQueryObject.php
Go to the documentation of this file.
1 <?php
2 
10 {
11  protected $selectStatement;
12  protected $joinStatement;
13  protected $whereStatement;
14  protected $groupStatement;
15  protected $orderStatement;
16 
17 
21  public function getSelectStatement()
22  {
24  }
25 
26 
31  {
32  $this->selectStatement = $selectStatement;
33  }
34 
35 
39  public function getJoinStatement()
40  {
41  return $this->joinStatement;
42  }
43 
44 
49  {
50  $this->joinStatement = $joinStatement;
51  }
52 
53 
57  public function getWhereStatement()
58  {
59  return $this->whereStatement;
60  }
61 
62 
67  {
68  $this->whereStatement = $whereStatement;
69  }
70 
71 
75  public function getGroupStatement()
76  {
77  return $this->groupStatement;
78  }
79 
80 
85  {
86  $this->groupStatement = $groupStatement;
87  }
88 
89 
93  public function getOrderStatement()
94  {
95  return $this->orderStatement;
96  }
97 
98 
103  {
104  $this->orderStatement = $orderStatement;
105  }
106 
107 
117  public function applyCustomSorting(ilDclBaseFieldModel $field, array $all_records, $direction = 'asc')
118  {
119  return $all_records;
120  }
121 }
Class ilDclBaseFieldModel.
Class ilDclRecordQueryObject.
applyCustomSorting(ilDclBaseFieldModel $field, array $all_records, $direction='asc')
Apply custom sorting.