Wed Sep 12 12:50:09 CEST 2001 Modify the htlm ouput Modify the class_bd ( mun_row ) to give a parameter to the method Modify the start.php3 to be portable to ( mysql or posgres ) Modify the methode getinitval of class_bdtable.php3 and get the initial with double quote " Modify the class_bd of posgres ( to get all the table ) Add to class_bd the method foreachtable with a name of function Change start.php3 and calls foreachtable Mon Sep 17 21:21:06 CEST 2001 Add the name of the database in a variable $_nametable and put $this->_nametable in the sql query Wed Sep 19 13:26:05 CEST 2001 Add showformhidden , the list of all element of the class in input type hidden . ( template.php , class_bdtable.php3, genfile3.php3 ) testclass.php3 Adding the test of showformhidden Thu Sep 20 17:21:45 CEST 2001 Modify the class_form , the constructor take only one argument ( the methode GET or POST ) Add a tpl directory , to save the template files Add in the template.php showformtpl the tag #TAGEND_textarea# to could edit in formular ( a textarea ) the formular template. Mon Sep 24 12:14:15 CEST 2001 0.2.4 Erase a class_bd.php3 , because there's two instance of the file class_bd.php3 ( not a good thig ) Add in the start.php3 page the class already generated. Wed Sep 26 14:43:19 CEST 2001 0.2.5 Adding a test , if a field is idx[a-zA-Z0-9] then it could be a foreign key. ( class_bdtable.php3 ) Modify getoptiontable.php3 to make it portable for postgres , and add an option in select list NOTFOREINKEY Modify genfile3.php3 test if table is NOFOREINKEY then dont set the foreinkey Modify class_bd.php3 ( calls the function into the iterator foreachtable ) Tue Oct 9 13:05:49 CEST 2001 Modify in the template the method iter , change getfrombd to set ( this optimise by deleting request to the bd ) Modify the clas_bd objet add a variable typebd ( MYSQL or POSGRES ) Modify the posgres class_bdtable if the name is idx[a-zA-Z0-9] then it could be an forgein key Tue Oct 16 20:26:23 CEST 2001 Modify the request to postgres to get attribut of field Modify le class_bd to be compatible with postgres. Add in class_bdtable the showformhidden and copyobj Correct the showformhidden for the postgres class_bdtable ( Adding slash ) If the field is not a key and the name of the field is idx then it's the primary key. Mon Nov 19 17:15:59 CET 2001 Add the script phpdoc to the projet thanks to wwpakis.free.Fr Add in select2.php3 the description of the table Thu Dec 6 20:59:32 CET 2001 create class_gen.php , modify class_bdtable.php ( mysql / postgres ) Mon Dec 10 12:58:34 CET 2001 Add the method getprimarykeyvalue to the object generated ( get the value of the primary key) Wed Dec 19 18:03:10 CET 2001 Add a entry for the name of the sql objet class filenane generated Fri Feb 15 16:42:23 CET 2002 Add a variable to set the path to generate files pathtogenerate Fri Mar 15 16:41:43 CET 2002 Debug getprimarykey and some bug about path to generate files Wed Apr 17 17:21:48 CEST 2002 Adding and integrate the phpformwizard , and modify the form template format. Add a tempory file associationtablekey.tmp to remember the association between table and key Modify the maner to generate the template formular. put html tag. modify the parsetemplate to generate all value for the selectbox