Moving some old XMLDBxxx (deprecated) objects to the end of the file. Some PHP releases

have problems finding new extended xmldb_xxxx objects if they haven't been defined before.
This commit is contained in:
stronk7 2008-05-24 23:14:42 +00:00
parent dc10f119bb
commit 9c9fad9d71
5 changed files with 55 additions and 55 deletions

View File

@ -26,17 +26,6 @@
/// This class represent one XMLDB Field
/// TODO: Delete for 2.1 (deeprecated in 2.0).
/// Deprecated API starts here
class XMLDBField extends xmldb_field {
function __construct($name) {
parent::__construct($name);
}
}
/// Deprecated API ends here
class xmldb_field extends xmldb_object {
var $type;
@ -932,4 +921,15 @@ class xmldb_field extends xmldb_object {
}
}
/// TODO: Delete for 2.1 (deeprecated in 2.0).
/// Deprecated API starts here
class XMLDBField extends xmldb_field {
function __construct($name) {
parent::__construct($name);
}
}
/// Deprecated API ends here
?>

View File

@ -26,17 +26,6 @@
/// This class represent one XMLDB Index
/// TODO: Delete for 2.1 (deeprecated in 2.0).
/// Deprecated API starts here
class XMLDBIndex extends xmldb_index {
function __construct($name) {
parent::__construct($name);
}
}
/// Deprecated API ends here
class xmldb_index extends xmldb_object {
var $unique;
@ -283,4 +272,15 @@ class xmldb_index extends xmldb_object {
}
}
/// TODO: Delete for 2.1 (deeprecated in 2.0).
/// Deprecated API starts here
class XMLDBIndex extends xmldb_index {
function __construct($name) {
parent::__construct($name);
}
}
/// Deprecated API ends here
?>

View File

@ -26,17 +26,6 @@
/// This class represent one XMLDB Key
/// TODO: Delete for 2.1 (deeprecated in 2.0).
/// Deprecated API starts here
class XMLDBKey extends xmldb_key {
function __construct($name) {
parent::__construct($name);
}
}
/// Deprecated API ends here
class xmldb_key extends xmldb_object {
var $type;
@ -477,4 +466,15 @@ class xmldb_key extends xmldb_object {
}
}
/// TODO: Delete for 2.1 (deeprecated in 2.0).
/// Deprecated API starts here
class XMLDBKey extends xmldb_key {
function __construct($name) {
parent::__construct($name);
}
}
/// Deprecated API ends here
?>

View File

@ -28,17 +28,6 @@
/// (a group of SQL arbitrary sentences)
/// (only INSERT is allowed for now)
/// TODO: Delete for 2.1 (deeprecated in 2.0).
/// Deprecated API starts here
class XMLDBStatement extends xmldb_statement {
function __construct($name) {
parent::__construct($name);
}
}
/// Deprecated API ends here
class xmldb_statement extends xmldb_object {
var $table; // Table we are handling
@ -382,4 +371,15 @@ class xmldb_statement extends xmldb_object {
}
}
/// TODO: Delete for 2.1 (deeprecated in 2.0).
/// Deprecated API starts here
class XMLDBStatement extends xmldb_statement {
function __construct($name) {
parent::__construct($name);
}
}
/// Deprecated API ends here
?>

View File

@ -26,17 +26,6 @@
/// This class represent one XMLDB table
/// TODO: Delete for 2.1 (deeprecated in 2.0).
/// Deprecated API starts here
class XMLDBTable extends xmldb_table {
function __construct($name) {
parent::__construct($name);
}
}
/// Deprecated API ends here
class xmldb_table extends xmldb_object {
var $fields;
@ -835,4 +824,15 @@ class xmldb_table extends xmldb_object {
}
}
/// TODO: Delete for 2.1 (deeprecated in 2.0).
/// Deprecated API starts here
class XMLDBTable extends xmldb_table {
function __construct($name) {
parent::__construct($name);
}
}
/// Deprecated API ends here
?>