ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilDclRecordQueryObject Class Reference

Class ilDclRecordQueryObject. More...

+ Inheritance diagram for ilDclRecordQueryObject:
+ Collaboration diagram for ilDclRecordQueryObject:

Public Member Functions

 getSelectStatement ()
 
 setSelectStatement ($selectStatement)
 
 getJoinStatement ()
 
 setJoinStatement ($joinStatement)
 
 getWhereStatement ()
 
 setWhereStatement ($whereStatement)
 
 getGroupStatement ()
 
 setGroupStatement ($groupStatement)
 
 getOrderStatement ()
 
 setOrderStatement ($orderStatement)
 
 applyCustomSorting (ilDclBaseFieldModel $field, array $all_records, $direction='asc')
 Apply custom sorting. More...
 

Protected Attributes

 $selectStatement
 
 $joinStatement
 
 $whereStatement
 
 $groupStatement
 
 $orderStatement
 

Detailed Description

Class ilDclRecordQueryObject.

Author
Michael Herren mh@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Version
1.0.0

Definition at line 9 of file class.ilDclRecordQueryObject.php.

Member Function Documentation

◆ applyCustomSorting()

ilDclRecordQueryObject::applyCustomSorting ( ilDclBaseFieldModel  $field,
array  $all_records,
  $direction = 'asc' 
)

Apply custom sorting.

Parameters
ilDclBaseFieldModel$field
array$all_records
string$direction
Returns
array

Definition at line 117 of file class.ilDclRecordQueryObject.php.

118  {
119  return $all_records;
120  }

◆ getGroupStatement()

ilDclRecordQueryObject::getGroupStatement ( )
Returns
mixed

Definition at line 75 of file class.ilDclRecordQueryObject.php.

References $groupStatement.

◆ getJoinStatement()

ilDclRecordQueryObject::getJoinStatement ( )
Returns
mixed

Definition at line 39 of file class.ilDclRecordQueryObject.php.

References $joinStatement.

◆ getOrderStatement()

ilDclRecordQueryObject::getOrderStatement ( )
Returns
mixed

Definition at line 93 of file class.ilDclRecordQueryObject.php.

References $orderStatement.

◆ getSelectStatement()

ilDclRecordQueryObject::getSelectStatement ( )
Returns
mixed

Definition at line 21 of file class.ilDclRecordQueryObject.php.

References $selectStatement.

◆ getWhereStatement()

ilDclRecordQueryObject::getWhereStatement ( )
Returns
mixed

Definition at line 57 of file class.ilDclRecordQueryObject.php.

References $whereStatement.

◆ setGroupStatement()

ilDclRecordQueryObject::setGroupStatement (   $groupStatement)
Parameters
mixed$groupStatement

Definition at line 84 of file class.ilDclRecordQueryObject.php.

References $groupStatement.

85  {
86  $this->groupStatement = $groupStatement;
87  }

◆ setJoinStatement()

ilDclRecordQueryObject::setJoinStatement (   $joinStatement)
Parameters
mixed$joinStatement

Definition at line 48 of file class.ilDclRecordQueryObject.php.

References $joinStatement.

49  {
50  $this->joinStatement = $joinStatement;
51  }

◆ setOrderStatement()

ilDclRecordQueryObject::setOrderStatement (   $orderStatement)
Parameters
mixed$orderStatement

Definition at line 102 of file class.ilDclRecordQueryObject.php.

References $orderStatement.

103  {
104  $this->orderStatement = $orderStatement;
105  }

◆ setSelectStatement()

ilDclRecordQueryObject::setSelectStatement (   $selectStatement)
Parameters
mixed$selectStatement

Definition at line 30 of file class.ilDclRecordQueryObject.php.

References $selectStatement.

31  {
32  $this->selectStatement = $selectStatement;
33  }

◆ setWhereStatement()

ilDclRecordQueryObject::setWhereStatement (   $whereStatement)
Parameters
mixed$whereStatement

Definition at line 66 of file class.ilDclRecordQueryObject.php.

References $whereStatement.

67  {
68  $this->whereStatement = $whereStatement;
69  }

Field Documentation

◆ $groupStatement

ilDclRecordQueryObject::$groupStatement
protected

Definition at line 14 of file class.ilDclRecordQueryObject.php.

Referenced by getGroupStatement(), and setGroupStatement().

◆ $joinStatement

ilDclRecordQueryObject::$joinStatement
protected

Definition at line 12 of file class.ilDclRecordQueryObject.php.

Referenced by getJoinStatement(), and setJoinStatement().

◆ $orderStatement

ilDclRecordQueryObject::$orderStatement
protected

Definition at line 15 of file class.ilDclRecordQueryObject.php.

Referenced by getOrderStatement(), and setOrderStatement().

◆ $selectStatement

ilDclRecordQueryObject::$selectStatement
protected

Definition at line 11 of file class.ilDclRecordQueryObject.php.

Referenced by getSelectStatement(), and setSelectStatement().

◆ $whereStatement

ilDclRecordQueryObject::$whereStatement
protected

Definition at line 13 of file class.ilDclRecordQueryObject.php.

Referenced by getWhereStatement(), and setWhereStatement().


The documentation for this class was generated from the following file: