| Recommend this page to a friend! | 
| All requests  | > | PHPeclipse - PHP - Code Templates | > | Request new recommendation | > |  Featured requests | > |  No recommendations | 
 by Dean Fragnito - 8 years ago (2017-01-28)
 by Dean Fragnito - 8 years ago (2017-01-28)
| 0 | I havea code base thats makes use of templates files that where generated by PHPeclipse - PHP - Code Templates. I like how these templates work and would like to be bale to generate similiar data base class and manger files form new Tables I am creating. The generated files consist of class file, manager file and exception based on a table ie Table salesrep fiields salesrep_id,first_name,last_name,username class file SalesRep.php (Came Case) } // class Manager file SalesRepManager.php (Came Case) require_once("SalesRep.php"); class SalesRepManager { } // class other functions generated function updateSalesRep($objSalesRep) function deleteSalesRep($salesRepId) function getAllSalesReps() function getAllSalesRepsCount() Exception file SalesRepException.php class SalesRepException extends Exception { } // SalesRepException  | 
| +1 | 
 This utility generates automatically classes for any tables of a given database schema. An auto generated PHP class provides the following services for a MySQL table: 
 | 
| Recommend package | |
|  |