private function renameJoinFields(SelectQuery $query, $namesMap = null, $originalSource = null) {
        if($namesMap == null) {
            $namesMap = $this->getColumnNames();
        }
        $joins = &$query->getJoins();
        if(!empty($joins)) {
            foreach ($joins as &$join) {
                $this->renameConditionFields($join, $namesMap, $originalSource, $query->getTable());
            }
        }
    }
private function renameJoinFields(SelectQuery $query, $namesMap = null, $originalSource = null) {
        if($namesMap == null) {
            $namesMap = $this->getColumnNames();
        }
        $joins = &$query->getJoins();
        if(!empty($joins)) {
            foreach ($joins as &$join) {
                $this->renameConditionFields($join, $namesMap, $originalSource, $query->getTable());
            }
        }
    }
private function renameJoinFields ( SelectQuery $ query , $ namesMap = null , $ originalSource = null ) { if ( $ namesMap == null ) { $ namesMap = $ this -> getColumnNames ( ) ; } $ joins = & $ query -> getJoins ( ) ; if ( ! empty ( $ joins ) ) { foreach ( $ joins as & $ join ) { $ this -> renameConditionFields ( $ join , $ namesMap , $ originalSource , $ query -> getTable ( ) ) ; } } }
Renombra los campos involucrados en joins segun el mapa indicado
@param SelectQuery $query
@param $namesMap
@param mixed $originalSource
Renombra los campos involucrados en joins segun el mapa indicado