Commit Graph

33 Commits

Author SHA1 Message Date
Eloy Lafuente 2a97328522 NOBUG xmldb editor - make php code generated to follow the 2-slash coding style 2010-07-17 11:36:34 +00:00
Petr Skoda d776d59ee2 MDL-21235 fixed select method name 2010-01-16 18:29:51 +00:00
Petr Skoda 4b9210f31b MDL-21235 more conversion to new select 2010-01-16 18:25:51 +00:00
Eloy Lafuente f25d53a992 MDL-20916 protect the whole xmldb editor with sesskey. Merged from 19_STABLE 2009-11-20 19:48:01 +00:00
Petr Skoda 0df0df23f4 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 10:55:31 +00:00
nicolasconnault b324b47e36 MDL-19787 Upgraded calls to choose_from_menu 2009-08-17 15:15:20 +00:00
stronk7 11e167a9d0 MDL-16059 xmldb editor - now all the php auto-generated code include proper upgrade_xxx_savepoint() calls 2009-05-30 18:57:00 +00:00
stronk7 2a88f626f7 MDL-18577 drop enums support - step2: enums out from editor, dbmanager and all upgrade scripts. 2009-05-01 01:19:16 +00:00
tjhunt 9dbebd145d xmldb: typos in generated code. 2008-11-18 07:36:02 +00:00
stronk7 84774c552c upgrade_mod_savepoint() implemented in XMLDB Editor generators. MDL-15343 2008-07-18 22:18:47 +00:00
stronk7 ef088e70e7 MDL-14956 DDL exceptions (code suggested by XMLDB Editor) 2008-06-22 18:26:55 +00:00
skodak 294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
stronk7 cdb1e987e6 All fields, keys and indexes in suggested PHP core are using $dbman. MDL-14941 2008-05-23 22:42:45 +00:00
stronk7 82bba3e4d5 And also conditionally create/drop indexes and fields. MDL-14955 2008-05-23 22:26:08 +00:00
stronk7 69b80cc2eb 4th iteration committed: xmldb_field, xmldb_index and xmldb_key "public" methods changed + debugging of deprecated ones until Moodle 2.1 . MDL-14863 2008-05-22 00:09:59 +00:00
stronk7 a8cb94f66f MDL-14863 - 1st iteration: lowercase XMLDB table, field, index, key and statement +
wrapper class to support old syntax (no changes in public API yet)
2008-05-20 23:24:40 +00:00
stronk7 46293bd7b7 MDL-14863 - 1st iteration: lowercase XMLDB constants, object, file and structure (no changes in public API yet) 2008-05-20 17:06:26 +00:00
skodak f33e1ed4ae MDL-14679 ok, here is the big patch with new dmllib and ddlib API, some code is already converted, XML db editor works; see tracker for details of regressions and TODOs 2008-05-15 21:40:00 +00:00
stronk7 dcbef1994e Now PHP code generated by the XMLDB editor automatically
adds calls to upgrade_main_savepoint(). MDL-11698

Merged from MOODLE_19_STABLE
2007-11-01 23:24:36 +00:00
nicolasconnault b7064779f5 Updated copyright notice in header 2007-10-10 05:25:14 +00:00
toyomoyo 007456de61 MDL-8425, fixing xhtml strict issues 2007-02-08 07:12:53 +00:00
stronk7 704b9031ac Add full specs for current field in rename_field() PHP
generation from the editor. Part of MDL-8296
2007-01-24 16:54:49 +00:00
stronk7 db9940b605 PHP generated code must use $result instead of $status. MDL-7533
Merged from MOODLE_17_STABLE
2006-11-18 19:08:10 +00:00
stronk7 49173d25a7 Ending fied/key/index PHP generators
Merged from MOODLE_17_STABLE
2006-11-02 23:09:39 +00:00
stronk7 4fae686bc2 Enablig PHP generation of code for change_field_type() 2006-09-29 23:12:40 +00:00
stronk7 97bd35b284 Fixed bug in PHP generation of indexes. 2006-09-27 18:47:24 +00:00
stronk7 ceac2552ef Added support for PHP generation on create/drop/rename indexes and keys 2006-09-26 19:05:55 +00:00
stronk7 313b5a3550 Minor changes to improve behaviour of selections. 2006-09-25 22:53:39 +00:00
stronk7 1934b52236 adding support for some more options 2006-09-23 21:29:31 +00:00
skodak eef868d17d major whitespace cleanup - fixed trailng whitespace in new files and admin area 2006-09-20 21:00:45 +00:00
stronk7 3be91b01b6 Added support for add_field, drop_field and rename_field PHP code generation. 2006-09-12 17:45:25 +00:00
stronk7 eafc2b70e8 Some more improvements. Not finished yet. 2006-09-11 22:06:35 +00:00
stronk7 c5a6ae177a Initial verion. Not working yep but I needed to send it now. 2006-09-11 13:15:36 +00:00