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?
没有评论:
发表评论