ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 105 of file class.ilDclRecordQueryObject.php.

105  {
106  return $all_records;
107  }

◆ getGroupStatement()

ilDclRecordQueryObject::getGroupStatement ( )
Returns
mixed

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

References $groupStatement.

◆ getJoinStatement()

ilDclRecordQueryObject::getJoinStatement ( )
Returns
mixed

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

References $joinStatement.

◆ getOrderStatement()

ilDclRecordQueryObject::getOrderStatement ( )
Returns
mixed

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

References $orderStatement.

◆ getSelectStatement()

ilDclRecordQueryObject::getSelectStatement ( )
Returns
mixed

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

References $selectStatement.

◆ getWhereStatement()

ilDclRecordQueryObject::getWhereStatement ( )
Returns
mixed

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

References $whereStatement.

◆ setGroupStatement()

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

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

References $groupStatement.

75  {
76  $this->groupStatement = $groupStatement;
77  }

◆ setJoinStatement()

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

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

References $joinStatement.

43  {
44  $this->joinStatement = $joinStatement;
45  }

◆ setOrderStatement()

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

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

References $orderStatement.

91  {
92  $this->orderStatement = $orderStatement;
93  }

◆ setSelectStatement()

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

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

References $selectStatement.

27  {
28  $this->selectStatement = $selectStatement;
29  }

◆ setWhereStatement()

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

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

References $whereStatement.

59  {
60  $this->whereStatement = $whereStatement;
61  }

Field Documentation

◆ $groupStatement

ilDclRecordQueryObject::$groupStatement
protected

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

Referenced by getGroupStatement(), and setGroupStatement().

◆ $joinStatement

ilDclRecordQueryObject::$joinStatement
protected

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

Referenced by getJoinStatement(), and setJoinStatement().

◆ $orderStatement

ilDclRecordQueryObject::$orderStatement
protected

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

Referenced by getOrderStatement(), and setOrderStatement().

◆ $selectStatement

ilDclRecordQueryObject::$selectStatement
protected

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

Referenced by getSelectStatement(), and setSelectStatement().

◆ $whereStatement

ilDclRecordQueryObject::$whereStatement
protected

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

Referenced by getWhereStatement(), and setWhereStatement().


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