summaryrefslogtreecommitdiff
path: root/adodb-xmlschema03.inc.php
diff options
context:
space:
mode:
authorValentin Sheyretski <valio@vsite.org>2015-07-15 15:25:32 +0300
committerDamien Regad <dregad@mantisbt.org>2015-08-11 14:56:49 +0200
commit9ffa02e6ddc88dbfdfdf4437e0a398cc39960094 (patch)
tree9d5cca8e0e3fe066a8e2253df14bd09718deaa83 /adodb-xmlschema03.inc.php
parentae85debec8c75c47b55566c3df08ec39002138df (diff)
downloadadodb-9ffa02e6ddc88dbfdfdf4437e0a398cc39960094.tar.gz
adodb-9ffa02e6ddc88dbfdfdf4437e0a398cc39960094.tar.bz2
adodb-9ffa02e6ddc88dbfdfdf4437e0a398cc39960094.zip
Fix#139: Remove PHP 4 Constructors
This is the original commit from @valioz, rebased on latest master Signed-off-by: Damien Regad <dregad@mantisbt.org> Conflicts: drivers/adodb-db2ora.inc.php drivers/adodb-mssqlpo.inc.php drivers/adodb-odbc_oracle.inc.php
Diffstat (limited to 'adodb-xmlschema03.inc.php')
-rw-r--r--adodb-xmlschema03.inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/adodb-xmlschema03.inc.php b/adodb-xmlschema03.inc.php
index 37e9e6b5..45a59bbf 100644
--- a/adodb-xmlschema03.inc.php
+++ b/adodb-xmlschema03.inc.php
@@ -136,7 +136,7 @@ class dbObject {
/**
* NOP
*/
- function dbObject( &$parent, $attributes = NULL ) {
+ function __construct( &$parent, $attributes = NULL ) {
$this->parent = $parent;
}
@@ -273,7 +273,7 @@ class dbTable extends dbObject {
* @param string $prefix DB Object prefix
* @param array $attributes Array of table attributes.
*/
- function dbTable( &$parent, $attributes = NULL ) {
+ function __construct( &$parent, $attributes = NULL ) {
$this->parent = $parent;
$this->name = $this->prefix($attributes['NAME']);
}
@@ -683,7 +683,7 @@ class dbIndex extends dbObject {
*
* @internal
*/
- function dbIndex( &$parent, $attributes = NULL ) {
+ function __construct( &$parent, $attributes = NULL ) {
$this->parent = $parent;
$this->name = $this->prefix ($attributes['NAME']);
@@ -828,7 +828,7 @@ class dbData extends dbObject {
*
* @internal
*/
- function dbData( &$parent, $attributes = NULL ) {
+ function __construct( &$parent, $attributes = NULL ) {
$this->parent = $parent;
}
@@ -1084,7 +1084,7 @@ class dbQuerySet extends dbObject {
* @param object $parent Parent object
* @param array $attributes Attributes
*/
- function dbQuerySet( &$parent, $attributes = NULL ) {
+ function __construct( &$parent, $attributes = NULL ) {
$this->parent = $parent;
// Overrides the manual prefix key
@@ -1405,7 +1405,7 @@ class adoSchema {
*
* @param object $db ADOdb database connection object.
*/
- function adoSchema( $db ) {
+ function __construct( $db ) {
// Initialize the environment
$this->mgq = get_magic_quotes_runtime();
#set_magic_quotes_runtime(0);