function getValidTypes()
{
$types = $this->valid_default_values;
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
$types = is_array($types) ? $types : array($types);
foreach ($types as $key => $type) {
if (!isset($this->valid_default_values[$type])) {
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
return fopen('MDB2LOB://'.$lob_index.'@'.$this->db_index, 'r+');
}
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
if (is_null($value)) {
return null;
}
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
*/
function getDeclaration($type, $name, $field)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
*/
function getTypeDeclaration($field)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
*/
function _getDeclaration($name, $field)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
$default = '';
if (array_key_exists('default', $field)) {
if ($field['default'] === '') {
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
function _getIntegerDeclaration($name, $field)
{
if (!empty($field['unsigned'])) {
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
*/
function _getCLOBDeclaration($name, $field)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
*/
function _getBLOBDeclaration($name, $field)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
$type = !empty($current['type']) ? $current['type'] : null;
if (!method_exists($this, "_compare{$type}Definition")) {
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
*/
function quote($value, $type = null, $quote = true, $escape_wildcards = false)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
return $value;
}
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
}
if (is_resource($value)) {
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
function _quoteDate($value, $quote, $escape_wildcards)
{
if ($value === 'CURRENT_DATE') {
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
function _quoteTimestamp($value, $quote, $escape_wildcards)
{
if ($value === 'CURRENT_TIMESTAMP') {
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
function _quoteTime($value, $quote, $escape_wildcards)
{
if ($value === 'CURRENT_TIME') {
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
*/
function writeLOBToFile($lob, $file)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
*/
function matchPattern($pattern, $operator = null, $field = null)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
*/
function mapNativeDatatype($field)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
*/
function _mapNativeDatatype($field)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
*/
function mapPrepareDatatype($type)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
*/
function getTypeDeclaration($field)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
*/
function _getIntegerDeclaration($name, $field)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
return $value;
}
if (version_compare(PHP_VERSION, '5.2.0RC6', '>=')) {
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
*/
function matchPattern($pattern, $operator = null, $field = null)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
*/
function patternEscapeString()
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
$length = null;
break;
default:
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
*/
function mapPrepareDatatype($type)
{
- $db =& $this->getDBInstance();
+ $db =$this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}