1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-16 11:04:43 +02:00

Changed New BSD License to "dibi license"

This commit is contained in:
David Grudl
2007-10-30 00:58:15 +00:00
parent 330930fb34
commit 6856ace01e
16 changed files with 289 additions and 106 deletions

View File

@@ -1,19 +1,19 @@
<?php
/**
* dibi - Database Abstraction Layer according to dgx
* --------------------------------------------------
* dibi - tiny'n'smart database abstraction layer
* ----------------------------------------------
*
* Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz)
*
* for PHP 5.0.3 and newer
*
* This source file is subject to the new BSD license that is bundled
* This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt.
*
* For more information please see http://php7.org/dibi/
*
* @author David Grudl
* @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @license New BSD License
* @copyright Copyright (c) 2005, 2007 David Grudl
* @license http://php7.org/dibi/license (dibi license)
* @version 0.9a (Revision: $WCREV$, Date: $WCDATE$)
* @category Database
* @package Dibi
@@ -21,13 +21,6 @@
*/
/**
* This file is part of the "dibi" project (http://php7.org/dibi/)
*
* @version $Revision$ $Date$
*/
if (version_compare(PHP_VERSION , '5.0.3', '<')) {
die('dibi needs PHP 5.0.3 or newer');
}
@@ -69,6 +62,7 @@ interface DibiVariableInterface
* This class is static container class for creating DB objects and
* store connections info.
*
* @version $Revision$ $Date$
*/
class dibi
{

View File

@@ -1,20 +1,29 @@
<?php
/**
* This file is part of the "dibi" project (http://php7.org/dibi/)
* dibi - tiny'n'smart database abstraction layer
* ----------------------------------------------
*
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz)
*
* This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt.
*
* For more information please see http://php7.org/dibi/
*
* @author David Grudl
* @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @license New BSD License
* @version $Revision$ $Date$
* @copyright Copyright (c) 2005, 2007 David Grudl
* @license http://php7.org/dibi/license (dibi license)
* @category Database
* @package Dibi
* @link http://php7.org/dibi/
*/
/**
* The dibi driver for MySQL database
*
* @version $Revision$ $Date$
*/
class DibiMySqlDriver extends DibiDriver
{

View File

@@ -1,20 +1,29 @@
<?php
/**
* This file is part of the "dibi" project (http://php7.org/dibi/)
* dibi - tiny'n'smart database abstraction layer
* ----------------------------------------------
*
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz)
*
* This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt.
*
* For more information please see http://php7.org/dibi/
*
* @author David Grudl
* @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @license New BSD License
* @version $Revision$ $Date$
* @copyright Copyright (c) 2005, 2007 David Grudl
* @license http://php7.org/dibi/license (dibi license)
* @category Database
* @package Dibi
* @link http://php7.org/dibi/
*/
/**
* The dibi driver for MySQLi database
*
* @version $Revision$ $Date$
*/
class DibiMySqliDriver extends DibiDriver
{

View File

@@ -1,20 +1,29 @@
<?php
/**
* This file is part of the "dibi" project (http://php7.org/dibi/)
* dibi - tiny'n'smart database abstraction layer
* ----------------------------------------------
*
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz)
*
* This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt.
*
* For more information please see http://php7.org/dibi/
*
* @author David Grudl
* @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @license New BSD License
* @version $Revision$ $Date$
* @copyright Copyright (c) 2005, 2007 David Grudl
* @license http://php7.org/dibi/license (dibi license)
* @category Database
* @package Dibi
* @link http://php7.org/dibi/
*/
/**
* The dibi driver interacting with databases via ODBC connections
*
* @version $Revision$ $Date$
*/
class DibiOdbcDriver extends DibiDriver
{

View File

@@ -1,20 +1,29 @@
<?php
/**
* This file is part of the "dibi" project (http://php7.org/dibi/)
* dibi - tiny'n'smart database abstraction layer
* ----------------------------------------------
*
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz)
*
* This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt.
*
* For more information please see http://php7.org/dibi/
*
* @author David Grudl
* @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @license New BSD License
* @version $Revision$ $Date$
* @copyright Copyright (c) 2005, 2007 David Grudl
* @license http://php7.org/dibi/license (dibi license)
* @category Database
* @package Dibi
* @link http://php7.org/dibi/
*/
/**
* The dibi driver for PostgreSql database
*
* @version $Revision$ $Date$
*/
class DibiPostgreDriver extends DibiDriver
{

View File

@@ -1,20 +1,29 @@
<?php
/**
* This file is part of the "dibi" project (http://php7.org/dibi/)
* dibi - tiny'n'smart database abstraction layer
* ----------------------------------------------
*
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz)
*
* This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt.
*
* For more information please see http://php7.org/dibi/
*
* @author David Grudl
* @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @license New BSD License
* @version $Revision$ $Date$
* @copyright Copyright (c) 2005, 2007 David Grudl
* @license http://php7.org/dibi/license (dibi license)
* @category Database
* @package Dibi
* @link http://php7.org/dibi/
*/
/**
* The dibi driver for SQlite database
*
* @version $Revision$ $Date$
*/
class DibiSqliteDriver extends DibiDriver
{

View File

@@ -1,20 +1,29 @@
<?php
/**
* This file is part of the "dibi" project (http://php7.org/dibi/)
* dibi - tiny'n'smart database abstraction layer
* ----------------------------------------------
*
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz)
*
* This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt.
*
* For more information please see http://php7.org/dibi/
*
* @author David Grudl
* @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @license New BSD License
* @version $Revision$ $Date$
* @copyright Copyright (c) 2005, 2007 David Grudl
* @license http://php7.org/dibi/license (dibi license)
* @category Database
* @package Dibi
* @link http://php7.org/dibi/
*/
/**
* The dibi driver for MS SQL database
*
* @version $Revision$ $Date$
*/
class DibiMsSqlDriver extends DibiDriver
{

View File

@@ -1,20 +1,29 @@
<?php
/**
* This file is part of the "dibi" project (http://php7.org/dibi/)
* dibi - tiny'n'smart database abstraction layer
* ----------------------------------------------
*
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz)
*
* This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt.
*
* For more information please see http://php7.org/dibi/
*
* @author David Grudl
* @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @license New BSD License
* @version $Revision$ $Date$
* @copyright Copyright (c) 2005, 2007 David Grudl
* @license http://php7.org/dibi/license (dibi license)
* @category Database
* @package Dibi
* @link http://php7.org/dibi/
*/
/**
* The dibi driver for Oracle database
*
* @version $Revision$ $Date$
*/
class DibiOracleDriver extends DibiDriver
{

View File

@@ -1,20 +1,29 @@
<?php
/**
* This file is part of the "dibi" project (http://php7.org/dibi/)
* dibi - tiny'n'smart database abstraction layer
* ----------------------------------------------
*
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz)
*
* This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt.
*
* For more information please see http://php7.org/dibi/
*
* @author David Grudl
* @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @license New BSD License
* @version $Revision$ $Date$
* @copyright Copyright (c) 2005, 2007 David Grudl
* @license http://php7.org/dibi/license (dibi license)
* @category Database
* @package Dibi
* @link http://php7.org/dibi/
*/
/**
* The dibi driver for PDO
*
* @version $Revision$ $Date$
*/
class DibiPdoDriver extends DibiDriver
{

View File

@@ -1,14 +1,22 @@
<?php
/**
* This file is part of the "dibi" project (http://php7.org/dibi/)
* dibi - tiny'n'smart database abstraction layer
* ----------------------------------------------
*
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz)
*
* This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt.
*
* For more information please see http://php7.org/dibi/
*
* @author David Grudl
* @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @license New BSD License
* @version $Revision$ $Date$
* @copyright Copyright (c) 2005, 2007 David Grudl
* @license http://php7.org/dibi/license (dibi license)
* @category Database
* @package Dibi
* @link http://php7.org/dibi/
*/
@@ -16,6 +24,7 @@
/**
* dibi Common Driver
*
* @version $Revision$ $Date$
*/
abstract class DibiDriver
{

View File

@@ -1,20 +1,30 @@
<?php
/**
* This file is part of the "dibi" project (http://php7.org/dibi/)
* dibi - tiny'n'smart database abstraction layer
* ----------------------------------------------
*
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz)
*
* This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt.
*
* For more information please see http://php7.org/dibi/
*
* @author David Grudl
* @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @license New BSD License
* @version $Revision$ $Date$
* @copyright Copyright (c) 2005, 2007 David Grudl
* @license http://php7.org/dibi/license (dibi license)
* @category Database
* @package Dibi
* @link http://php7.org/dibi/
*/
/**
* dibi common exception
*
* @version $Revision$ $Date$
*/
class DibiException extends Exception
{

View File

@@ -1,20 +1,30 @@
<?php
/**
* This file is part of the "dibi" project (http://php7.org/dibi/)
* dibi - tiny'n'smart database abstraction layer
* ----------------------------------------------
*
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz)
*
* This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt.
*
* For more information please see http://php7.org/dibi/
*
* @author David Grudl
* @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @license New BSD License
* @version $Revision$ $Date$
* @copyright Copyright (c) 2005, 2007 David Grudl
* @license http://php7.org/dibi/license (dibi license)
* @category Database
* @package Dibi
* @link http://php7.org/dibi/
*/
/**
* dibi basic logger & profiler
*
* @version $Revision$ $Date$
*/
final class DibiLogger
{

View File

@@ -1,14 +1,22 @@
<?php
/**
* This file is part of the "dibi" project (http://php7.org/dibi/)
* dibi - tiny'n'smart database abstraction layer
* ----------------------------------------------
*
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz)
*
* This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt.
*
* For more information please see http://php7.org/dibi/
*
* @author David Grudl
* @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @license New BSD License
* @version $Revision$ $Date$
* @copyright Copyright (c) 2005, 2007 David Grudl
* @license http://php7.org/dibi/license (dibi license)
* @category Database
* @package Dibi
* @link http://php7.org/dibi/
*/
@@ -34,6 +42,8 @@ if (!interface_exists('Countable', FALSE)) {
* $assoc = $result->fetchAssoc('active', 'id');
* unset($result);
* </code>
*
* @version $Revision$ $Date$
*/
abstract class DibiResult implements IteratorAggregate, Countable
{

View File

@@ -1,14 +1,22 @@
<?php
/**
* This file is part of the "dibi" project (http://php7.org/dibi/)
* dibi - tiny'n'smart database abstraction layer
* ----------------------------------------------
*
* Copyright (c) 2005, 2007 David Grudl aka -dgx- (http://www.dgx.cz)
*
* This source file is subject to the "dibi license" that is bundled
* with this package in the file license.txt.
*
* For more information please see http://php7.org/dibi/
*
* @author David Grudl
* @copyright Copyright (c) 2005-2007 David Grudl aka -dgx- (http://www.dgx.cz)
* @license New BSD License
* @version $Revision$ $Date$
* @copyright Copyright (c) 2005, 2007 David Grudl
* @license http://php7.org/dibi/license (dibi license)
* @category Database
* @package Dibi
* @link http://php7.org/dibi/
*/
@@ -16,6 +24,7 @@
/**
* dibi translator
*
* @version $Revision$ $Date$
*/
final class DibiTranslator
{