zend-db-model-generator is a PHP script that reads the structure of a requested table and generates proper table, model, and mapper classes with all the relevant setters and getters using the Zend FrameWork. This script adds several functions to make it easier to work with a database like Zend_Paginator, Zend framework referenceMap, and other useful functions.
|Tags||PHP Zend Framework zend db|
|Operating Systems||OS Independent|
|Implementation||PHP Zend Framework|
Release Notes: This release adds more column types to the DB-to-PHP conversion, no longer adds the abstract model's require if the require flag is set to false, supports multiple where/and statements and PDO escape statements on fetchList/fetchListToArray, adds save.return_id flag to the configuration (if set, every insert save method will return its primary key value (last inserted id)), lets fetchList and fetchListArray be used from the model, and adds support for PDO escapes and multiple where/and to countByQuery.
Release Notes: This release fixes issue 11. It adds try catch to the pdo string generator to show a proper error instead of seeing an exception being thrown. It fixes issue 8, adding Unix socket support for MySQL server. Issue 7 was checked, and it seems that the 0.6 beta patch fixed the issue (support for composite primary key).