예제 #1
0
 /**
  * @return array
  */
 public function getAllOrderBy()
 {
     $order = $this->orderBy;
     foreach ($this->joinQuery->getJoins() as $join) {
         $order = array_merge($order, $join->getAllOrderBy());
     }
     return $order;
 }
예제 #2
0
 /**
  * @return array
  */
 public function getAllColumns()
 {
     $columns = $this->getColumns();
     foreach ($this->joinQuery->getJoins() as $join) {
         $joinCols = $join->getAllColumns();
         $columns = \array_merge($columns, $joinCols);
     }
     return $columns;
 }
예제 #3
0
 /**
  * @param string|null $joinType
  *
  * @return $this
  */
 public function setJoinType($joinType)
 {
     $this->joinQuery->setJoinType($joinType);
     return $this;
 }