What is the best way to configure Zend_Db::AUTO_QUOTE_IDENTIFIERS with Zend Application ?

1 message Options
Embed this post
Permalink
Gabriel Baez-2

What is the best way to configure Zend_Db::AUTO_QUOTE_IDENTIFIERS with Zend Application ?

Reply Threaded More More options
Print post
Permalink
Hello,

What is the best way to configure   Zend Application Resources DB  to
make  use of  Zend_Db::AUTO_QUOTE_IDENTIFIERS ?


My current configuration  is in  xml  format.


In the bootstrap  I have


public function _initDatabase()
    {
        $resource = $this->bootstrap('db');
        $db       = $this->getResource('db');
        //$db->setAutoQuoteIdentifiers(false);
        $db->setFetchMode(Zend_Db::FETCH_OBJ);
        Zend_Registry::set('db', $db);
    }




I tried  setAutoQuoteIdentifiers(false)  but there is no such method  any ideas?