Download Latest Version classify-0.0.11.zip (40.0 kB)
Email in envelope

Get an email when there's a new version of php-db2class

Home / Actions / MySQL5 / xsl / classify
Name Modified Size InfoDownloads / Week
Parent folder
insert-record.xsl 2011-06-10 16.2 kB
update-record.xsl 2011-05-27 15.2 kB
types.xsl 2011-05-27 10.7 kB
load-record.xsl 2011-05-27 17.2 kB
loadall-records.xsl 2011-05-27 29.2 kB
delete-record.xsl 2011-05-27 13.8 kB
common.xsl 2011-05-27 1.9 kB
count-records.xsl 2011-05-27 6.8 kB
comments.xsl 2011-05-27 1.1 kB
class.xsl 2011-05-27 41.6 kB
Totals: 10 Items   153.7 kB 0
Application allowing automatic generation of php classes for database tables 
and views.

Usage:

* Getting help
php main.php --help

* Getting help for a specific module (such as MySQL5)
php main.php MySQL5 --help

* Previewing generated code for the mysql.user and mysql.ssessions tables
php main.php MySQL5 -u root -p -D mysql -f phps -o user sessions

* Generating code for all the tables in the mysql database
php main.php MySQL5 -u root -p -D mysql -f php -t ./output-folder -m 

Note: For windows user: this script uses ANSI codes for coloring the console 
output. If you whish to display the colors on windows you need to pipe this 
command to a post process utility (google is your friend to find one) or use 
cygwin.

Note: For linux users: instead of using "php main.php" you can also make the
file db2class executable with:
  chmod u+x db2class
After this you can launch the script with:
  ./db2class MySQL5 --help
Source: README, updated 2011-06-10