Permalink
Browse files

Removed obsolete method

  • Loading branch information...
thorsten committed Mar 2, 2012
1 parent 8ddb1e0 commit fddffb9c8c34227473034cf5c50d7a8127f3ffb3
@@ -1,6 +1,6 @@
<?php
/**
- * Base interface for database drivers.
+ * Interface for database drivers
*
* PHP Version 5.2
*
@@ -18,7 +18,7 @@
* @package PMF_DB
* @author Johannes Schlüter <johannes@php.net>
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
- * @copyright 2007-2011 phpMyFAQ Team
+ * @copyright 2007-2012 phpMyFAQ Team
* @license http://www.mozilla.org/MPL/MPL-1.1.html Mozilla Public License Version 1.1
* @link http://www.phpmyfaq.de
* @since 2007-08-19
@@ -35,7 +35,7 @@
* @package PMF_DB
* @author Johannes Schlüter <johannes@php.net>
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
- * @copyright 2007-2010 phpMyFAQ Team
+ * @copyright 2007-2012 phpMyFAQ Team
* @license http://www.mozilla.org/MPL/MPL-1.1.html Mozilla Public License Version 1.1
* @link http://www.phpmyfaq.de
* @since 2007-08-19
@@ -158,19 +158,6 @@ public function server_version();
*/
public function getTableNames($prefix = '');
- /**
- * Move internal result pointer
- *
- * Moves the pointer within the query result to a specified location, or
- * to the beginning if nothing is specified.
- *
- * @param resource $result Resultset
- * @param integer $rowNumber Row number
- *
- * @return boolean
- */
- public function resultSeek($result, $rowNumber);
-
/**
* Closes the connection to the database.
*
@@ -1,6 +1,6 @@
<?php
/**
- * The db_ibase class provides methods and functions for Firebird/InterBase
+ * The PMF_DB_Ibase class provides methods and functions for Firebird/InterBase
* databases.
*
* PHP Version 5.2
@@ -18,7 +18,7 @@
* @category phpMyFAQ
* @package PMF_DB
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
- * @copyright 2005-2011 phpMyFAQ Team
+ * @copyright 2005-2012 phpMyFAQ Team
* @license http://www.mozilla.org/MPL/MPL-1.1.html Mozilla Public License Version 1.1
* @link http://www.phpmyfaq.de
* @since 2005-11-28
@@ -34,7 +34,7 @@
* @category phpMyFAQ
* @package PMF_DB
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
- * @copyright 2005-2010 phpMyFAQ Team
+ * @copyright 2005-2012 phpMyFAQ Team
* @license http://www.mozilla.org/MPL/MPL-1.1.html Mozilla Public License Version 1.1
* @link http://www.phpmyfaq.de
* @since 2005-11-28
@@ -241,7 +241,7 @@ function client_version()
*/
function server_version()
{
- return ibase_server_info();
+ return ibase_server_info($this->conn);
}
/**
@@ -255,22 +255,6 @@ function getTableNames($prefix = '')
$this->tableNames[] = $prefix.'faquser';
}
- /**
- * Move internal result pointer
- *
- * Moves the pointer within the query result to a specified location, or
- * to the beginning if nothing is specified.
- *
- * @param resource $result Resultset
- * @param integer $rowNumber Row number
- *
- * @return boolean
- */
- public function resultSeek($result, $rowNumber)
- {
- return true;
- }
-
/**
* Closes the connection to the database.
*
@@ -19,7 +19,7 @@
* @package PMF_DB
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
* @author Helmut Tessarek <tessus@evermeet.cx>
- * @copyright 2005-2011 phpMyFAQ Team
+ * @copyright 2005-2012 phpMyFAQ Team
* @license http://www.mozilla.org/MPL/MPL-1.1.html Mozilla Public License Version 1.1
* @link http://www.phpmyfaq.de
* @since 2005-04-16
@@ -36,7 +36,7 @@
* @package PMF_DB
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
* @author Helmut Tessarek <tessus@evermeet.cx>
- * @copyright 2005-2010 phpMyFAQ Team
+ * @copyright 2005-2012 phpMyFAQ Team
* @license http://www.mozilla.org/MPL/MPL-1.1.html Mozilla Public License Version 1.1
* @link http://www.phpmyfaq.de
* @since 2005-04-16
@@ -275,22 +275,6 @@ function getTableNames($prefix = '')
}
}
- /**
- * Move internal result pointer
- *
- * Moves the pointer within the query result to a specified location, or
- * to the beginning if nothing is specified.
- *
- * @param resource $result Resultset
- * @param integer $rowNumber Row number
- *
- * @return boolean
- */
- public function resultSeek($result, $rowNumber)
- {
- return db2_result($result, $rowNumber);
- }
-
/**
* This function closes the connection to the database.
*
@@ -1,7 +1,7 @@
<?php
/**
- * The db_mssql class provides methods and functions for a Microsoft SQL Server
- * database.
+ * The PMF_DB_Mssql class provides methods and functions for a Microsoft SQL
+ * Server database.
*
* PHP Version 5.2
*
@@ -278,22 +278,6 @@ function getTableNames($prefix = '')
}
}
- /**
- * Move internal result pointer
- *
- * Moves the pointer within the query result to a specified location, or
- * to the beginning if nothing is specified.
- *
- * @param resource $result Resultset
- * @param integer $rowNumber Row number
- *
- * @return boolean
- */
- public function resultSeek($result, $rowNumber)
- {
- return mssql_data_seek($result, $rowNumber);
- }
-
/**
* Closes the connection to the database.
*
@@ -1,9 +1,9 @@
<?php
/**
- * The PMF_DB_Mysql class provides methods and functions for a MySQL 4.0.x
- * and higher database.
+ * The PMF_DB_Mysql class provides methods and functions for MySQL 5.0.x,
+ * 5.1.x, and 5.5.x databases.
*
- * PHP Version 5.2.0
+ * PHP Version 5.2
*
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
@@ -20,7 +20,7 @@
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
* @author Meikel Katzengreis <meikel@katzengreis.com>
* @author Tom Rochester <tom.rochester@gmail.com>
- * @copyright 2003-2011 phpMyFAQ Team
+ * @copyright 2003-2012 phpMyFAQ Team
* @license http://www.mozilla.org/MPL/MPL-1.1.html Mozilla Public License Version 1.1
* @link http://www.phpmyfaq.de
* @package 2003-02-24
@@ -38,7 +38,7 @@
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
* @author Meikel Katzengreis <meikel@katzengreis.com>
* @author Tom Rochester <tom.rochester@gmail.com>
- * @copyright 2003-2010 phpMyFAQ Team
+ * @copyright 2003-2012 phpMyFAQ Team
* @license http://www.mozilla.org/MPL/MPL-1.1.html Mozilla Public License Version 1.1
* @link http://www.phpmyfaq.de
* @package 2003-02-24
@@ -268,22 +268,6 @@ public function getTableNames($prefix = '')
}
}
- /**
- * Move internal result pointer
- *
- * Moves the pointer within the query result to a specified location, or
- * to the beginning if nothing is specified.
- *
- * @param resource $result Resultset
- * @param integer $rowNumber Row number
- *
- * @return boolean
- */
- public function resultSeek($result, $rowNumber)
- {
- return mysql_data_seek($result, $rowNumber);
- }
-
/**
* Closes the connection to the database.
*
@@ -1,7 +1,7 @@
<?php
/**
- * The PMF_DB_Mysqli class provides methods and functions for a MySQL 4.1.x,
- * 5.0.x, 5.1.x, and 5.5.x databases.
+ * The PMF_DB_Mysqli class provides methods and functions for MySQL 5.0.x,
+ * 5.1.x, and 5.5.x databases.
*
* PHP Version 5.2
*
@@ -19,7 +19,7 @@
* @package PMF_DB
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
* @author David Soria Parra <dsoria@gmx.net>
- * @copyright 2005-2011 phpMyFAQ Team
+ * @copyright 2005-2012 phpMyFAQ Team
* @license http://www.mozilla.org/MPL/MPL-1.1.html Mozilla Public License Version 1.1
* @link http://www.phpmyfaq.de
* @package 2005-02-21
@@ -36,7 +36,7 @@
* @package PMF_DB
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
* @author David Soria Parra <dsoria@gmx.net>
- * @copyright 2005-2010 phpMyFAQ Team
+ * @copyright 2005-2012 phpMyFAQ Team
* @license http://www.mozilla.org/MPL/MPL-1.1.html Mozilla Public License Version 1.1
* @link http://www.phpmyfaq.de
* @package 2005-02-21
@@ -282,22 +282,6 @@ function getTableNames($prefix = '')
}
}
- /**
- * Move internal result pointer
- *
- * Moves the pointer within the query result to a specified location, or
- * to the beginning if nothing is specified.
- *
- * @param resource $result Resultset
- * @param integer $rowNumber Row number
- *
- * @return boolean
- */
- public function resultSeek($result, $rowNumber)
- {
- return mysqli_data_seek($result, $rowNumber);
- }
-
/**
* Closes the connection to the database.
*
@@ -297,23 +297,7 @@ public function getTableNames($prefix = '')
}
}
}
-
- /**
- * Move internal result pointer
- *
- * Moves the pointer within the query result to a specified location, or
- * to the beginning if nothing is specified.
- *
- * @param resource $result Resultset
- * @param integer $rowNumber Row number
- *
- * @return boolean
- */
- public function resultSeek($result, $rowNumber)
- {
- return pg_result_seek($result, $rowNumber);
- }
-
+
/**
* Closes the connection to the database.
*
@@ -1,6 +1,7 @@
<?php
/**
- * The db_sqlite class provides methods and functions for a sqlite database.
+ * The PMF_DB_Sqlite class provides methods and functions for a SQLite v2
+ * database. This class is deprecated for PHP 5.3 and PHP 5.4.
*
* PHP Version 5.2
*
@@ -18,10 +19,10 @@
* @package PMF_DB
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
* @author Johannes Schlüter <johannes@php.net>
- * @since 2005-06-27
+ * @copyright 2005-2012 phpMyFAQ Team
* @license http://www.mozilla.org/MPL/MPL-1.1.html Mozilla Public License Version 1.1
* @link http://www.phpmyfaq.de
- * @copyright 2005-2011 phpMyFAQ Team
+ * @since 2005-06-27
*/
if (!defined('IS_VALID_PHPMYFAQ')) {
@@ -30,15 +31,15 @@
/**
* PMF_DB_Sqlite
- *
+ *
* @category phpMyFAQ
* @package PMF_DB
* @author Thorsten Rinne <thorsten@phpmyfaq.de>
* @author Johannes Schlüter <johannes@php.net>
- * @since 2005-06-27
+ * @copyright 2005-2012 phpMyFAQ Team
* @license http://www.mozilla.org/MPL/MPL-1.1.html Mozilla Public License Version 1.1
* @link http://www.phpmyfaq.de
- * @copyright 2005-2010 phpMyFAQ Team
+ * @since 2005-06-27
*/
class PMF_DB_Sqlite implements PMF_DB_Driver
{
@@ -258,22 +259,6 @@ public function getTableNames($prefix = '')
}
}
- /**
- * Move internal result pointer
- *
- * Moves the pointer within the query result to a specified location, or
- * to the beginning if nothing is specified.
- *
- * @param resource $result Resultset
- * @param integer $rowNumber Row number
- *
- * @return boolean
- */
- public function resultSeek($result, $rowNumber)
- {
- return sqlite_seek($result, $rowNumber);
- }
-
/**
* Closes the connection to the database.
*
Oops, something went wrong.

0 comments on commit fddffb9

Please sign in to comment.