Databases interfaces

v2-beta 2.0-beta
Bruno O. Notario 3 years ago
parent d2099f28fe
commit 109767445f
Signed by: oliveira131
GPG Key ID: 76CAD698D3EA8F58
  1. 53
      system/database/autoload.php
  2. 3
      system/database/databases/mpdo.php
  3. 25
      system/database/databases/mssql.php
  4. 4
      system/database/databases/mysql_legacy.php
  5. 12
      system/database/databases/mysql_pdo.php
  6. 3
      system/database/databases/mysqli.php
  7. 9
      system/database/databases/nullStatement.php
  8. 3
      system/database/databases/oracle.php
  9. 8
      system/database/databases/postgre.php
  10. 3
      system/database/databases/sqlite3_db.php
  11. 7
      system/database/databases/sqlsrv.php
  12. 3
      system/database/databases/sqlsrvpdo.php
  13. 163
      system/database/library/db.php
  14. 3
      system/engine/autoload.php
  15. 67
      system/engine/interfaces/databases.php
  16. 2
      system/system.php

File diff suppressed because one or more lines are too long

@ -9,12 +9,13 @@
namespace Phacil\Framework\Databases; namespace Phacil\Framework\Databases;
use PDO; use PDO;
use Phacil\Framework\Interfaces\Databases;
/** /**
* Alternative PDO MySQL connection method. * Alternative PDO MySQL connection method.
* *
* @package Phacil\Framework\Databases */ * @package Phacil\Framework\Databases */
final class mPDO { final class mPDO implements Databases {
/** /**
* *
* @var PDO * @var PDO

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -10,6 +10,7 @@ namespace Phacil\Framework\Databases;
use Exception; use Exception;
use MySQLi as GlobalMysqli; use MySQLi as GlobalMysqli;
use Phacil\Framework\Interfaces\Databases;
use stdClass; use stdClass;
/** /**
@ -18,7 +19,7 @@ use stdClass;
* Works on most of PHP instalations * Works on most of PHP instalations
* *
* @package Phacil\Framework\Databases */ * @package Phacil\Framework\Databases */
class MySQLi { class MySQLi implements Databases {
/** /**
* *
* @var GlobalMysqli * @var GlobalMysqli

File diff suppressed because one or more lines are too long

@ -9,6 +9,7 @@
namespace Phacil\Framework\Databases; namespace Phacil\Framework\Databases;
use Exception; use Exception;
use Phacil\Framework\Interfaces\Databases;
use stdClass; use stdClass;
/** /**
@ -16,7 +17,7 @@ use stdClass;
* *
* @package Phacil\Framework\Databases * @package Phacil\Framework\Databases
*/ */
final class Oracle{ final class Oracle implements Databases {
/** /**
* *
* @var resource|false * @var resource|false

File diff suppressed because one or more lines are too long

@ -9,10 +9,11 @@
namespace Phacil\Framework\Databases; namespace Phacil\Framework\Databases;
use Exception; use Exception;
use Phacil\Framework\Interfaces\Databases;
use \SQLite3; use \SQLite3;
use stdClass; use stdClass;
final class Sqlite3_db { final class Sqlite3_db implements Databases {
/** /**
* *
* @var SQLite3 * @var SQLite3

File diff suppressed because one or more lines are too long

@ -10,9 +10,10 @@ namespace Phacil\Framework\Databases;
use Exception; use Exception;
use \PDO as PDONative; use \PDO as PDONative;
use Phacil\Framework\Interfaces\Databases;
use stdClass; use stdClass;
final class sqlsrvPDO { final class sqlsrvPDO implements Databases {
/** /**
* *
* @var PDONative * @var PDONative

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save