public function findAllBySql($criteria) { $command = $this->getSqlCommand($criteria); return $this->onExecuteCommand($command, $command->query()); }