Commit 5d4d1710 authored by Guilherme Blanco's avatar Guilherme Blanco

Merge pull request #20 from milokmet/oci8-protected

OCI8 Change private properties and methods to protected.
parents 4981b302 0f15533d
...@@ -47,7 +47,7 @@ class Driver implements \Doctrine\DBAL\Driver ...@@ -47,7 +47,7 @@ class Driver implements \Doctrine\DBAL\Driver
* *
* @return string The DSN. * @return string The DSN.
*/ */
private function _constructDsn(array $params) protected function _constructDsn(array $params)
{ {
$dsn = ''; $dsn = '';
if (isset($params['host'])) { if (isset($params['host'])) {
......
...@@ -26,9 +26,9 @@ namespace Doctrine\DBAL\Driver\OCI8; ...@@ -26,9 +26,9 @@ namespace Doctrine\DBAL\Driver\OCI8;
*/ */
class OCI8Connection implements \Doctrine\DBAL\Driver\Connection 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. * Create a Connection to an Oracle Database using oci8 extension.
......
...@@ -30,15 +30,15 @@ use \PDO; ...@@ -30,15 +30,15 @@ use \PDO;
class OCI8Statement implements \Doctrine\DBAL\Driver\Statement class OCI8Statement implements \Doctrine\DBAL\Driver\Statement
{ {
/** Statement handle. */ /** Statement handle. */
private $_sth; protected $_sth;
private $_executeMode; protected $_executeMode;
private static $_PARAM = ':param'; protected static $_PARAM = ':param';
private static $fetchStyleMap = array( protected static $fetchStyleMap = array(
PDO::FETCH_BOTH => OCI_BOTH, PDO::FETCH_BOTH => OCI_BOTH,
PDO::FETCH_ASSOC => OCI_ASSOC, PDO::FETCH_ASSOC => OCI_ASSOC,
PDO::FETCH_NUM => OCI_NUM PDO::FETCH_NUM => OCI_NUM
); );
private $_paramMap = array(); protected $_paramMap = array();
/** /**
* Creates a new OCI8Statement that uses the given connection handle and SQL statement. * 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