public function getPdoStatement() { return $this->_statement; }
/** * Constructor. * @param TDbCommand the command generating the query result */ public function __construct(TDbCommand $command) { $this->_statement = $command->getPdoStatement(); $this->_statement->setFetchMode(PDO::FETCH_ASSOC); }