private function setJoin($table, $field, $parentField, $alias, $parentAlias)
    {
        if (!in_array($alias, $this->tables)) {
            $condition = $this->getFullFieldName($field, $alias).' = '.$this->getFullFieldName($parentField, $parentAlias);
            $this->queryBuilder->join($table, $alias, 'WITH', $condition);
            $this->tables[] = $alias;
        }
    }
private function setJoin($table, $field, $parentField, $alias, $parentAlias)
    {
        if (!in_array($alias, $this->tables)) {
            $condition = $this->getFullFieldName($field, $alias).' = '.$this->getFullFieldName($parentField, $parentAlias);
            $this->queryBuilder->join($table, $alias, 'WITH', $condition);
            $this->tables[] = $alias;
        }
    }
private function setJoin ( $ table , $ field , $ parentField , $ alias , $ parentAlias ) { if ( ! in_array ( $ alias , $ this -> tables ) ) { $ condition = $ this -> getFullFieldName ( $ field , $ alias ) . ' = ' . $ this -> getFullFieldName ( $ parentField , $ parentAlias ) ; $ this -> queryBuilder -> join ( $ table , $ alias , 'WITH' , $ condition ) ; $ this -> tables [ ] = $ alias ; } }
Create a join.

@param string $table
@param string $field
@param string $parentField
@param string $alias
@param string $parentAlias
Create a join .