public function isPreparedStatementUsed()
    {
        if ($this->executeMode === self::QUERY_MODE_AUTO) {
            // Mysqli doesn't support client side prepared statement emulation
            if ($this->getAdapter()->getDriver() instanceof ZendMysqliDriver) {
                return false;
            }

            // By default, we use PDO prepared statement emulation
            return true;
        }

        if ($this->executeMode === self::QUERY_MODE_PREPARED) {
            return true;
        }

        return false;
    }
public function isPreparedStatementUsed()
    {
        if ($this->executeMode === self::QUERY_MODE_AUTO) {
            // Mysqli doesn't support client side prepared statement emulation
            if ($this->getAdapter()->getDriver() instanceof ZendMysqliDriver) {
                return false;
            }

            // By default, we use PDO prepared statement emulation
            return true;
        }

        if ($this->executeMode === self::QUERY_MODE_PREPARED) {
            return true;
        }

        return false;
    }
public function isPreparedStatementUsed ( ) { if ( $ this -> executeMode === self :: QUERY_MODE_AUTO ) { // Mysqli doesn't support client side prepared statement emulation if ( $ this -> getAdapter ( ) -> getDriver ( ) instanceof ZendMysqliDriver ) { return false ; } // By default, we use PDO prepared statement emulation return true ; } if ( $ this -> executeMode === self :: QUERY_MODE_PREPARED ) { return true ; } return false ; }
Are we using prepared statement?

@return boolean
Are we using prepared statement?