Commit 0f15533d authored by Miloslav Kmet's avatar Miloslav Kmet

Change private properties and methods to protected

to be able to make OCI8 derived classes
parent 0a994387
......@@ -47,7 +47,7 @@ class Driver implements \Doctrine\DBAL\Driver
*
* @return string The DSN.
*/
private function _constructDsn(array $params)
protected function _constructDsn(array $params)
{
$dsn = '';
if (isset($params['host'])) {
......
......@@ -26,9 +26,9 @@ namespace Doctrine\DBAL\Driver\OCI8;
*/
class OCI8Connection implements \Doctrine\DBAL\Driver\Connection
{
private $_dbh;
protected $_dbh;
private $_executeMode = OCI_COMMIT_ON_SUCCESS;
protected $_executeMode = OCI_COMMIT_ON_SUCCESS;
/**
* Create a Connection to an Oracle Database using oci8 extension.
......
......@@ -30,15 +30,15 @@ use \PDO;
class OCI8Statement implements \Doctrine\DBAL\Driver\Statement
{
/** Statement handle. */
private $_sth;
private $_executeMode;
private static $_PARAM = ':param';
private static $fetchStyleMap = array(
protected $_sth;
protected $_executeMode;
protected static $_PARAM = ':param';
protected static $fetchStyleMap = array(
PDO::FETCH_BOTH => OCI_BOTH,
PDO::FETCH_ASSOC => OCI_ASSOC,
PDO::FETCH_NUM => OCI_NUM
);
private $_paramMap = array();
protected $_paramMap = array();
/**
* Creates a new OCI8Statement that uses the given connection handle and SQL statement.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment