getJoins() публичный Метод

public getJoins ( ) : array
Результат array
Пример #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 null|Where $data
  * @param string     $operation
  *
  * @return array
  */
 protected function getAllOperation($data, $operation)
 {
     $collection = [];
     if (!is_null($data)) {
         $collection[] = $data;
     }
     foreach ($this->joinQuery->getJoins() as $join) {
         $collection = \array_merge($collection, $join->{$operation}());
     }
     return $collection;
 }