protected function configureStatementClass($class = 'PDOStatement', $suppressError = true)
    {
        // extending PDOStatement is only supported with non-persistent connections
        if (!$this->getAttribute(PDO::ATTR_PERSISTENT)) {
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array($class, array($this)));
        } elseif (!$suppressError) {
            throw new PropelException('Extending PDOStatement is not supported with persistent connections.');
        }
    }
protected function configureStatementClass($class = 'PDOStatement', $suppressError = true)
    {
        // extending PDOStatement is only supported with non-persistent connections
        if (!$this->getAttribute(PDO::ATTR_PERSISTENT)) {
            $this->setAttribute(PDO::ATTR_STATEMENT_CLASS, array($class, array($this)));
        } elseif (!$suppressError) {
            throw new PropelException('Extending PDOStatement is not supported with persistent connections.');
        }
    }
protected function configureStatementClass ( $ class = 'PDOStatement' , $ suppressError = true ) { // extending PDOStatement is only supported with non-persistent connections if ( ! $ this -> getAttribute ( PDO :: ATTR_PERSISTENT ) ) { $ this -> setAttribute ( PDO :: ATTR_STATEMENT_CLASS , array ( $ class , array ( $ this ) ) ) ; } elseif ( ! $ suppressError ) { throw new PropelException ( 'Extending PDOStatement is not supported with persistent connections.' ) ; } }
Configures the PDOStatement class for this connection.

@param string  $class
@param boolean $suppressError Whether to suppress an exception if the statement class cannot be set.

@throws PropelException if the statement class cannot be set (and $suppressError is false).
Configures the PDOStatement class for this connection .