]> git.mjollnir.org Git - moodle.git/commitdiff
Initial commit of the ddllib (to perform DDL operations)
authorstronk7 <stronk7>
Tue, 15 Aug 2006 09:08:17 +0000 (09:08 +0000)
committerstronk7 <stronk7>
Tue, 15 Aug 2006 09:08:17 +0000 (09:08 +0000)
lib/ddllib.php [new file with mode: 0644]

diff --git a/lib/ddllib.php b/lib/ddllib.php
new file mode 100644 (file)
index 0000000..ba9940a
--- /dev/null
@@ -0,0 +1,41 @@
+<?php // $Id$
+
+///////////////////////////////////////////////////////////////////////////
+//                                                                       //
+// NOTICE OF COPYRIGHT                                                   //
+//                                                                       //
+// Moodle - Modular Object-Oriented Dynamic Learning Environment         //
+//          http://moodle.com                                            //
+//                                                                       //
+// Copyright (C) 2001-3001 Martin Dougiamas        http://dougiamas.com  //
+//           (C) 2001-3001 Eloy Lafuente (stronk7) http://contiento.com  //
+//                                                                       //
+// 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.                                   //
+//                                                                       //
+// This program is distributed in the hope that it will be useful,       //
+// but WITHOUT ANY WARRANTY; without even the implied warranty of        //
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         //
+// GNU General Public License for more details:                          //
+//                                                                       //
+//          http://www.gnu.org/copyleft/gpl.html                         //
+//                                                                       //
+///////////////////////////////////////////////////////////////////////////
+
+// This library includes all the required functions used to handle the DB
+// structure independently of the underlying RDBMS in use. All the functions
+// rely on the XMLDBDriver classes to be able to generate the correct SQL 
+// syntax needed by each DB.
+//
+// To define any structure to be created we'll use the schema defined 
+// by the XMLDB classes, for tables, fields, indexes, keys and other
+// statements instead of direct handling of SQL sentences.
+//
+// This library should be used, exclusively, by the installation and
+// upgrade process of Moodle.
+//
+// For further documentation, visit http://docs.moodle.org/en/DDL_functions
+
+?>