framework/db/ar/CActiveFinder.php
public function runQuery($query)
	{
		$command=$query->createCommand($this->_builder);
		foreach($command->queryAll() as $row)
			$this->populateRecord($query,$row);
	}
public function runQuery($query)
	{
		$command=$query->createCommand($this->_builder);
		foreach($command->queryAll() as $row)
			$this->populateRecord($query,$row);
	}
public function runQuery ( $ query ) { $ command = $ query -> createCommand ( $ this -> _builder ) ; foreach ( $ command -> queryAll ( ) as $ row ) $ this -> populateRecord ( $ query , $ row ) ; }
Executes the join query and populates the query results.
@param CJoinQuery $query the query to be executed.
Executes the join query and populates the query results .