remove php 4 constructors

This commit is contained in:
Robin Appelman 2011-04-16 20:51:26 +02:00
parent 519a84e048
commit 3764b61be7
1 changed files with 0 additions and 57 deletions

View File

@ -1352,17 +1352,6 @@ class MDB2_Driver_Common extends PEAR
$this->db_index = $db_index; $this->db_index = $db_index;
} }
// }}}
// {{{ function MDB2_Driver_Common()
/**
* PHP 4 Constructor
*/
function MDB2_Driver_Common()
{
$this->destructor_registered = false;
$this->__construct();
}
// }}} // }}}
// {{{ destructor: function __destruct() // {{{ destructor: function __destruct()
@ -3452,16 +3441,6 @@ class MDB2_Result_Common extends MDB2_Result
$this->limit = max(0, $limit - 1); $this->limit = max(0, $limit - 1);
} }
// }}}
// {{{ function MDB2_Result_Common(&$db, &$result, $limit = 0, $offset = 0)
/**
* PHP 4 Constructor
*/
function MDB2_Result_Common(&$db, &$result, $limit = 0, $offset = 0)
{
$this->__construct($db, $result, $limit, $offset);
}
// }}} // }}}
// {{{ function setResultTypes($types) // {{{ function setResultTypes($types)
@ -3920,21 +3899,6 @@ class MDB2_Row
$this->$key = &$row[$key]; $this->$key = &$row[$key];
} }
} }
// }}}
// {{{ function MDB2_Row(&$row)
/**
* PHP 4 Constructor
*
* @param resource row data as array
*/
function MDB2_Row(&$row)
{
$this->__construct($row);
}
// }}}
} }
// }}} // }}}
@ -3980,16 +3944,6 @@ class MDB2_Statement_Common
$this->offset = $offset; $this->offset = $offset;
} }
// }}}
// {{{ function MDB2_Statement_Common(&$db, &$statement, $positions, $query, $types, $result_types, $is_manip = false, $limit = null, $offset = null)
/**
* PHP 4 Constructor
*/
function MDB2_Statement_Common(&$db, &$statement, $positions, $query, $types, $result_types, $is_manip = false, $limit = null, $offset = null)
{
$this->__construct($db, $statement, $positions, $query, $types, $result_types, $is_manip, $limit, $offset);
}
// }}} // }}}
// {{{ function bindValue($parameter, &$value, $type = null) // {{{ function bindValue($parameter, &$value, $type = null)
@ -4272,17 +4226,6 @@ class MDB2_Module_Common
$this->db_index = $db_index; $this->db_index = $db_index;
} }
// }}}
// {{{ function MDB2_Module_Common($db_index)
/**
* PHP 4 Constructor
*/
function MDB2_Module_Common($db_index)
{
$this->__construct($db_index);
}
// }}} // }}}
// {{{ function &getDBInstance() // {{{ function &getDBInstance()