ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 116 of file class.ilDclRecordQueryObject.php.

117  {
118  return $all_records;
119  }

◆ getGroupStatement()

ilDclRecordQueryObject::getGroupStatement ( )
Returns
mixed

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

References $groupStatement.

◆ getJoinStatement()

ilDclRecordQueryObject::getJoinStatement ( )
Returns
mixed

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

References $joinStatement.

◆ getOrderStatement()

ilDclRecordQueryObject::getOrderStatement ( )
Returns
mixed

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

References $orderStatement.

◆ getSelectStatement()

ilDclRecordQueryObject::getSelectStatement ( )
Returns
mixed

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

References $selectStatement.

◆ getWhereStatement()

ilDclRecordQueryObject::getWhereStatement ( )
Returns
mixed

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

References $whereStatement.

◆ setGroupStatement()

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

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

References $groupStatement.

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

◆ setJoinStatement()

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

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

References $joinStatement.

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

◆ setOrderStatement()

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

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

References $orderStatement.

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

◆ setSelectStatement()

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

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

References $selectStatement.

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

◆ setWhereStatement()

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

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

References $whereStatement.

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

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: