import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
* @subpackage Statement
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Statement.php 16541 2009-07-07 06:59:03Z bkarwin $
|
||||
* @version $Id: Statement.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -42,6 +42,11 @@ require_once 'Zend/Db/Statement/Interface.php';
|
||||
abstract class Zend_Db_Statement implements Zend_Db_Statement_Interface
|
||||
{
|
||||
|
||||
/**
|
||||
* @var resource|object The driver level statement object/resource
|
||||
*/
|
||||
protected $_stmt = null;
|
||||
|
||||
/**
|
||||
* @var Zend_Db_Adapter_Abstract
|
||||
*/
|
||||
@ -112,6 +117,17 @@ abstract class Zend_Db_Statement implements Zend_Db_Statement_Interface
|
||||
$this->_queryId = $this->_adapter->getProfiler()->queryStart($sql);
|
||||
}
|
||||
|
||||
/**
|
||||
* Internal method called by abstract statment constructor to setup
|
||||
* the driver level statement
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected function _prepare($sql)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sql
|
||||
* @return void
|
||||
@ -456,4 +472,14 @@ abstract class Zend_Db_Statement implements Zend_Db_Statement_Interface
|
||||
{
|
||||
return $this->_adapter;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the resource or object setup by the
|
||||
* _parse
|
||||
* @return unknown_type
|
||||
*/
|
||||
public function getDriverStatement()
|
||||
{
|
||||
return $this->_stmt;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user