From 72bc84f42d6d46cee72fcbdad7ec5bb55cda7239 Mon Sep 17 00:00:00 2001 From: zYne Date: Fri, 5 Jan 2007 23:16:50 +0000 Subject: [PATCH] sequence module skeleton added --- lib/Doctrine/Sequence.php | 37 ++++++++++++++++++++++++++++++ lib/Doctrine/Sequence/Db2.php | 36 +++++++++++++++++++++++++++++ lib/Doctrine/Sequence/Firebird.php | 36 +++++++++++++++++++++++++++++ lib/Doctrine/Sequence/Informix.php | 36 +++++++++++++++++++++++++++++ lib/Doctrine/Sequence/Mssql.php | 36 +++++++++++++++++++++++++++++ lib/Doctrine/Sequence/Mysql.php | 36 +++++++++++++++++++++++++++++ lib/Doctrine/Sequence/Oracle.php | 36 +++++++++++++++++++++++++++++ lib/Doctrine/Sequence/Pgsql.php | 36 +++++++++++++++++++++++++++++ lib/Doctrine/Sequence/Sqlite.php | 36 +++++++++++++++++++++++++++++ 9 files changed, 325 insertions(+) create mode 100644 lib/Doctrine/Sequence.php create mode 100644 lib/Doctrine/Sequence/Db2.php create mode 100644 lib/Doctrine/Sequence/Firebird.php create mode 100644 lib/Doctrine/Sequence/Informix.php create mode 100644 lib/Doctrine/Sequence/Mssql.php create mode 100644 lib/Doctrine/Sequence/Mysql.php create mode 100644 lib/Doctrine/Sequence/Oracle.php create mode 100644 lib/Doctrine/Sequence/Pgsql.php create mode 100644 lib/Doctrine/Sequence/Sqlite.php diff --git a/lib/Doctrine/Sequence.php b/lib/Doctrine/Sequence.php new file mode 100644 index 000000000..add6512cb --- /dev/null +++ b/lib/Doctrine/Sequence.php @@ -0,0 +1,37 @@ +. + */ + +/** + * Doctrine_Sequence + * The base class for sequence handling drivers. + * + * @package Doctrine + * @author Konsta Vesterinen + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @category Object Relational Mapping + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + */ +class Doctrine_Sequence extends Doctrine_Connection_Module +{ + +} diff --git a/lib/Doctrine/Sequence/Db2.php b/lib/Doctrine/Sequence/Db2.php new file mode 100644 index 000000000..04deae53b --- /dev/null +++ b/lib/Doctrine/Sequence/Db2.php @@ -0,0 +1,36 @@ +. + */ +Doctrine::autoload('Doctrine_Sequence'); +/** + * Doctrine_Sequence_Db2 + * + * @package Doctrine + * @author Konsta Vesterinen + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @category Object Relational Mapping + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + */ +class Doctrine_Sequence_Db2 extends Doctrine_Sequence +{ + +} diff --git a/lib/Doctrine/Sequence/Firebird.php b/lib/Doctrine/Sequence/Firebird.php new file mode 100644 index 000000000..4d9e74192 --- /dev/null +++ b/lib/Doctrine/Sequence/Firebird.php @@ -0,0 +1,36 @@ +. + */ +Doctrine::autoload('Doctrine_Sequence'); +/** + * Doctrine_Sequence_Firebird + * + * @package Doctrine + * @author Konsta Vesterinen + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @category Object Relational Mapping + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + */ +class Doctrine_Sequence_Firebird extends Doctrine_Sequence +{ + +} diff --git a/lib/Doctrine/Sequence/Informix.php b/lib/Doctrine/Sequence/Informix.php new file mode 100644 index 000000000..9cc8aae70 --- /dev/null +++ b/lib/Doctrine/Sequence/Informix.php @@ -0,0 +1,36 @@ +. + */ + +/** + * Doctrine_Sequence_Informix + * + * @package Doctrine + * @author Konsta Vesterinen + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @category Object Relational Mapping + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + */ +class Doctrine_Sequence_Informix extends Doctrine_Sequence +{ + +} diff --git a/lib/Doctrine/Sequence/Mssql.php b/lib/Doctrine/Sequence/Mssql.php new file mode 100644 index 000000000..eae850a3d --- /dev/null +++ b/lib/Doctrine/Sequence/Mssql.php @@ -0,0 +1,36 @@ +. + */ +Doctrine::autoload('Doctrine_Sequence'); +/** + * Doctrine_Sequence_Mssql + * + * @package Doctrine + * @author Konsta Vesterinen + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @category Object Relational Mapping + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + */ +class Doctrine_Sequence_Mssql extends Doctrine_Sequence +{ + +} diff --git a/lib/Doctrine/Sequence/Mysql.php b/lib/Doctrine/Sequence/Mysql.php new file mode 100644 index 000000000..0fd611d51 --- /dev/null +++ b/lib/Doctrine/Sequence/Mysql.php @@ -0,0 +1,36 @@ +. + */ +Doctrine::autoload('Doctrine_Sequence'); +/** + * Doctrine_Sequence_Mysql + * + * @package Doctrine + * @author Konsta Vesterinen + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @category Object Relational Mapping + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + */ +class Doctrine_Sequence_Mysql extends Doctrine_Sequence +{ + +} diff --git a/lib/Doctrine/Sequence/Oracle.php b/lib/Doctrine/Sequence/Oracle.php new file mode 100644 index 000000000..91feb4b69 --- /dev/null +++ b/lib/Doctrine/Sequence/Oracle.php @@ -0,0 +1,36 @@ +. + */ +Doctrine::autoload('Doctrine_Sequence'); +/** + * Doctrine_Sequence_Oracle + * + * @package Doctrine + * @author Konsta Vesterinen + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @category Object Relational Mapping + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + */ +class Doctrine_Sequence_Oracle extends Doctrine_Sequence +{ + +} diff --git a/lib/Doctrine/Sequence/Pgsql.php b/lib/Doctrine/Sequence/Pgsql.php new file mode 100644 index 000000000..45db121df --- /dev/null +++ b/lib/Doctrine/Sequence/Pgsql.php @@ -0,0 +1,36 @@ +. + */ +Doctrine::autoload('Doctrine_Sequence'); +/** + * Doctrine_Sequence_Pgsql + * + * @package Doctrine + * @author Konsta Vesterinen + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @category Object Relational Mapping + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + */ +class Doctrine_Sequence_Pgsql extends Doctrine_Sequence +{ + +} diff --git a/lib/Doctrine/Sequence/Sqlite.php b/lib/Doctrine/Sequence/Sqlite.php new file mode 100644 index 000000000..4c18ee31f --- /dev/null +++ b/lib/Doctrine/Sequence/Sqlite.php @@ -0,0 +1,36 @@ +. + */ +Doctrine::autoload('Doctrine_Sequence'); +/** + * Doctrine_Sequence_Sqlite + * + * @package Doctrine + * @author Konsta Vesterinen + * @license http://www.opensource.org/licenses/lgpl-license.php LGPL + * @category Object Relational Mapping + * @link www.phpdoctrine.com + * @since 1.0 + * @version $Revision$ + */ +class Doctrine_Sequence_Sqlite extends Doctrine_Sequence +{ + +}