lib/eMapper/Fluent/Query/AbstractQuery.php
protected function updateSchema(Schema $schema) {
		foreach($schema->getJoins() as $join) {
			$assoc = $join->getAssociation();
			$parent = $join->getParent();
			if (is_null($parent))
				$assoc->appendJoin($this, $this->alias, $join->getAlias(), true);
			else {
				$alias = $schema->getJoin($parent)->getAlias();
				$assoc->appendJoin($this, $alias, $join->getAlias(), true);
			}
		}
	}
protected function updateSchema(Schema $schema) {
		foreach($schema->getJoins() as $join) {
			$assoc = $join->getAssociation();
			$parent = $join->getParent();
			if (is_null($parent))
				$assoc->appendJoin($this, $this->alias, $join->getAlias(), true);
			else {
				$alias = $schema->getJoin($parent)->getAlias();
				$assoc->appendJoin($this, $alias, $join->getAlias(), true);
			}
		}
	}
protected function updateSchema ( Schema $ schema ) { foreach ( $ schema -> getJoins ( ) as $ join ) { $ assoc = $ join -> getAssociation ( ) ; $ parent = $ join -> getParent ( ) ; if ( is_null ( $ parent ) ) $ assoc -> appendJoin ( $ this , $ this -> alias , $ join -> getAlias ( ) , true ) ; else { $ alias = $ schema -> getJoin ( $ parent ) -> getAlias ( ) ; $ assoc -> appendJoin ( $ this , $ alias , $ join -> getAlias ( ) , true ) ; } } }
Updates query schema
@param \eMapper\Query\Schema $schema
Updates query schema