public function __construct($adapter,
$sql) { $this->_adapter =
$adapter;
if ($sql instanceof Zend_Db_Select
) { $sql =
$sql->
assemble();
} $this->
_parseParameters($sql);
$this->
_prepare($sql);
$this->_queryId =
$this->_adapter->
getProfiler()->
queryStart($sql);
} /**
* Internal method called by abstract statment constructor to setup
* the driver level statement
*
* @return void
*/