aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/db')
-rw-r--r--phpBB/includes/db/db2.php36
-rw-r--r--phpBB/includes/db/firebird.php29
-rw-r--r--phpBB/includes/db/mssql-odbc.php29
-rw-r--r--phpBB/includes/db/mssql.php37
-rw-r--r--phpBB/includes/db/mysql.php29
-rw-r--r--phpBB/includes/db/mysql4.php31
-rw-r--r--phpBB/includes/db/oracle.php34
-rw-r--r--phpBB/includes/db/postgres.php37
-rw-r--r--phpBB/includes/db/sqlite.php36
9 files changed, 151 insertions, 147 deletions
diff --git a/phpBB/includes/db/db2.php b/phpBB/includes/db/db2.php
index da471841c1..2262210e15 100644
--- a/phpBB/includes/db/db2.php
+++ b/phpBB/includes/db/db2.php
@@ -1,29 +1,25 @@
<?php
-/***************************************************************************
- * db2.php
- * -------------------
- * begin : Saturday, Feb 13, 2001
- * copyright : (C) 2001 The phpBB Group
- * email : support@phpbb.com
- *
- * $Id$
- *
- ***************************************************************************/
-
-/***************************************************************************
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- ***************************************************************************/
-
+/**
+*
+* @package dbal_db2
+* @version $Id$
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/**
+* @ignore
+*/
if(!defined("SQL_LAYER"))
{
define("SQL_LAYER","db2");
+/**
+* @package dbal_db2
+* DB2 Database Abstraction Layer
+*/
class sql_db
{
diff --git a/phpBB/includes/db/firebird.php b/phpBB/includes/db/firebird.php
index a31a7c3716..526dc70f5b 100644
--- a/phpBB/includes/db/firebird.php
+++ b/phpBB/includes/db/firebird.php
@@ -1,21 +1,26 @@
<?php
-// -------------------------------------------------------------
-//
-// $Id$
-//
-// FILENAME : firebird.php
-// STARTED : Sat Feb 13, 2001
-// COPYRIGHT : © 2001, 2003 phpBB Group
-// WWW : http://www.phpbb.com/
-// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
-//
-// -------------------------------------------------------------
-
+/**
+*
+* @package dbal_firebird
+* @version $Id$
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/**
+* @ignore
+*/
if (!defined('SQL_LAYER'))
{
define('SQL_LAYER', 'firebird');
+/**
+* @package dbal_firebird
+* Firebird/Interbase Database Abstraction Layer
+* Minimum Requirement is Firebird 1.5+/Interbase 7.1+
+*/
class sql_db
{
var $db_connect_id;
diff --git a/phpBB/includes/db/mssql-odbc.php b/phpBB/includes/db/mssql-odbc.php
index 847ae1d7a5..a0a6125aa3 100644
--- a/phpBB/includes/db/mssql-odbc.php
+++ b/phpBB/includes/db/mssql-odbc.php
@@ -1,21 +1,26 @@
<?php
-// -------------------------------------------------------------
-//
-// $Id$
-//
-// FILENAME : mssql-odbc.php
-// STARTED : Sat Feb 13, 2001
-// COPYRIGHT : © 2001, 2003 phpBB Group
-// WWW : http://www.phpbb.com/
-// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
-//
-// -------------------------------------------------------------
-
+/**
+*
+* @package dbal_odbc_mssql
+* @version $Id$
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/**
+* @ignore
+*/
if (!defined('SQL_LAYER'))
{
define('SQL_LAYER', 'mssql-odbc');
+/**
+* @package dbal_odbc_mssql
+* MSSQL ODBC Database Abstraction Layer for MSSQL
+* Minimum Requirement is Version 2000+
+*/
class sql_db
{
var $db_connect_id;
diff --git a/phpBB/includes/db/mssql.php b/phpBB/includes/db/mssql.php
index efb0d9c833..f68a904ce8 100644
--- a/phpBB/includes/db/mssql.php
+++ b/phpBB/includes/db/mssql.php
@@ -1,29 +1,26 @@
<?php
-/***************************************************************************
- * mssql.php
- * -------------------
- * begin : Saturday, Feb 13, 2001
- * copyright : (C) 2001 The phpBB Group
- * email : supportphpbb.com
- *
- * $Id$
- *
- ***************************************************************************/
-
-/***************************************************************************
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- ***************************************************************************/
-
+/**
+*
+* @package dbal_mssql
+* @version $Id$
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/**
+* @ignore
+*/
if (!defined("SQL_LAYER"))
{
define("SQL_LAYER","mssql");
+/**
+* @package dbal_mssql
+* MSSQL Database Abstraction Layer
+* Minimum Requirement is MSSQL 2000+
+*/
class sql_db
{
diff --git a/phpBB/includes/db/mysql.php b/phpBB/includes/db/mysql.php
index e1780eb5e7..14778a7e66 100644
--- a/phpBB/includes/db/mysql.php
+++ b/phpBB/includes/db/mysql.php
@@ -1,21 +1,26 @@
<?php
-// -------------------------------------------------------------
-//
-// $Id$
-//
-// FILENAME : mysql.php
-// STARTED : Sat Feb 13, 2001
-// COPYRIGHT : © 2001, 2003 phpBB Group
-// WWW : http://www.phpbb.com/
-// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
-//
-// -------------------------------------------------------------
-
+/**
+*
+* @package dbal_mysql
+* @version $Id$
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/**
+* @ignore
+*/
if (!defined('SQL_LAYER'))
{
define('SQL_LAYER', 'mysql');
+/**
+* @package dbal_mysql
+* MySQL Database Abstraction Layer
+* Minimum Requirement is 3.23+/4.0+/4.1+
+*/
class sql_db
{
var $db_connect_id;
diff --git a/phpBB/includes/db/mysql4.php b/phpBB/includes/db/mysql4.php
index 5cf2757b60..ac5b9552fc 100644
--- a/phpBB/includes/db/mysql4.php
+++ b/phpBB/includes/db/mysql4.php
@@ -1,21 +1,28 @@
<?php
-// -------------------------------------------------------------
-//
-// $Id$
-//
-// FILENAME : mysql4.php
-// STARTED : Sat Feb 13, 2001
-// COPYRIGHT : © 2001, 2003 phpBB Group
-// WWW : http://www.phpbb.com/
-// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
-//
-// -------------------------------------------------------------
-
+/**
+*
+* @package dbal_mysql4
+* @version $Id$
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/**
+* @ignore
+*/
if (!defined('SQL_LAYER'))
{
define('SQL_LAYER', 'mysql4');
+/**
+* @package dbal_mysql4
+* MySQL4 Database Abstraction Layer
+* Minimum Requirement is MySQL 4.1+
+*
+* @todo Rename mysql4.php to mysqli.php to reflect the used module
+*/
class sql_db
{
var $db_connect_id;
diff --git a/phpBB/includes/db/oracle.php b/phpBB/includes/db/oracle.php
index 3319bca4ec..145afc7e71 100644
--- a/phpBB/includes/db/oracle.php
+++ b/phpBB/includes/db/oracle.php
@@ -1,29 +1,25 @@
<?php
-/***************************************************************************
- * oracle.php
- * -------------------
- * begin : Thrusday Feb 15, 2001
- * copyright : (C) 2001 The phpBB Group
- * email : support@phpbb.com
- *
- * $Id$
- *
- ***************************************************************************/
-
-/***************************************************************************
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- ***************************************************************************/
+/**
+*
+* @package dbal_oracle
+* @version $Id$
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+/**
+* @ignore
+*/
if(!defined("SQL_LAYER"))
{
define("SQL_LAYER","oracle");
+/**
+* @package dbal_oracle
+* Oracle Database Abstraction Layer
+*/
class sql_db
{
diff --git a/phpBB/includes/db/postgres.php b/phpBB/includes/db/postgres.php
index 61994a4a32..bd0c52ec54 100644
--- a/phpBB/includes/db/postgres.php
+++ b/phpBB/includes/db/postgres.php
@@ -1,29 +1,26 @@
<?php
- /***************************************************************************
- * postgres7.php
- * -------------------
- * begin : Saturday, Feb 13, 2001
- * copyright : (C) 2001 The phpBB Group
- * email : supportphpbb.com
- *
- * $Id$
- *
- ***************************************************************************/
-
-/***************************************************************************
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- ***************************************************************************/
-
+/**
+*
+* @package dbal_postgres
+* @version $Id$
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/**
+* @ignore
+*/
if (!defined("SQL_LAYER"))
{
define("SQL_LAYER","postgresql");
+/**
+* @package dbal_postgres
+* PostgreSQL Database Abstraction Layer
+* Minimum Requirement is Version 7.3+
+*/
class sql_db
{
diff --git a/phpBB/includes/db/sqlite.php b/phpBB/includes/db/sqlite.php
index f28e0da69b..abeee3a358 100644
--- a/phpBB/includes/db/sqlite.php
+++ b/phpBB/includes/db/sqlite.php
@@ -1,29 +1,25 @@
<?php
-/***************************************************************************
- * mysql.php
- * -------------------
- * begin : Saturday, Feb 13, 2001
- * copyright : (C) 2001 The phpBB Group
- * email : support@phpbb.com
- *
- * $Id$
- *
- ***************************************************************************/
-
-/***************************************************************************
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- ***************************************************************************/
-
+/**
+*
+* @package dbal_sqlite
+* @version $Id$
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/**
+* @ignore
+*/
if (!defined('SQL_LAYER'))
{
define('SQL_LAYER', 'sqlite');
+/**
+* @package dbal_sqlite
+* Sqlite Database Abstraction Layer
+*/
class sql_db
{
var $db_connect_id;