classes/phing/tasks/ext/pdo/PDOSQLExecTask.php
protected function processResults()
    {
        try {
            $this->log("Processing new result set.", Project::MSG_VERBOSE);

            $formatters = $this->getConfiguredFormatters();

            while ($row = $this->statement->fetch($this->fetchMode)) {
                foreach ($formatters as $formatter) {
                    $formatter->processRow($row);
                }
            }
        } catch (Exception $x) {
            $this->log("Error processing reults: " . $x->getMessage(), Project::MSG_ERR);
            foreach ($formatters as $formatter) {
                $formatter->close();
            }
            throw $x;
        }
    }
protected function processResults()
    {
        try {
            $this->log("Processing new result set.", Project::MSG_VERBOSE);

            $formatters = $this->getConfiguredFormatters();

            while ($row = $this->statement->fetch($this->fetchMode)) {
                foreach ($formatters as $formatter) {
                    $formatter->processRow($row);
                }
            }
        } catch (Exception $x) {
            $this->log("Error processing reults: " . $x->getMessage(), Project::MSG_ERR);
            foreach ($formatters as $formatter) {
                $formatter->close();
            }
            throw $x;
        }
    }
protected function processResults ( ) { try { $ this -> log ( "Processing new result set." , Project :: MSG_VERBOSE ) ; $ formatters = $ this -> getConfiguredFormatters ( ) ; while ( $ row = $ this -> statement -> fetch ( $ this -> fetchMode ) ) { foreach ( $ formatters as $ formatter ) { $ formatter -> processRow ( $ row ) ; } } } catch ( Exception $ x ) { $ this -> log ( "Error processing reults: " . $ x -> getMessage ( ) , Project :: MSG_ERR ) ; foreach ( $ formatters as $ formatter ) { $ formatter -> close ( ) ; } throw $ x ; } }
Passes results from query to any formatters.

@throws PDOException
Passes results from query to any formatters .