]> git.mjollnir.org Git - moodle.git/commitdiff
Added some used strings
authorstronk7 <stronk7>
Sat, 2 Sep 2006 23:49:02 +0000 (23:49 +0000)
committerstronk7 <stronk7>
Sat, 2 Sep 2006 23:49:02 +0000 (23:49 +0000)
lib/xmldb/classes/XMLDBConstants.php

index 89bb098c709e6d97f1fe1a7a06a3650117544827..f6d38e66d58d9a1b36e1332bc5132fc7438290f6 100644 (file)
@@ -66,4 +66,9 @@
     define ('XMLDB_ENUM',            true);  //If the field is going to be a enumeration of possible fields
     define ('XMLDB_INDEX_UNIQUE',    true);  //If the index is going to be unique
     define ('XMLDB_INDEX_NOTUNIQUE',false);  //If the index is NOT going to be unique
+
+/// Some strings used widely
+    define ('XMLDB_LINEFEED', "\n");
+    define ('XMLDB_PHP_HEADER', '    if ($status && $oldversion < XXXXXXXXXX) {' . XMLDB_LINEFEED);
+    define ('XMLDB_PHP_FOOTER', '    }' . XMLDB_LINEFEED);
 ?>