getJoins() public méthode

public getJoins ( ) : array
Résultat array
 /**
  * @return array
  */
 public function getAllOrderBy()
 {
     $order = $this->orderBy;
     foreach ($this->joinQuery->getJoins() as $join) {
         $order = array_merge($order, $join->getAllOrderBy());
     }
     return $order;
 }
Exemple #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;
 }
 /**
  * @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;
 }