PHP Classes

Code Generator: Generate classes to access MySQL table rows

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 47%Total: 2,397 All time: 1,624 This week: 200Up
Version License Categories
codegen 1.0.0FreewareDatabases, Code Generation
Description Author

This class can be used to generate classes that can be used access MySQL database table rows as objects.

The class retrieves the list of fields of a given MySQL database table and generates a class with private variables with the names based on the database table fields.

It also sets getter and setter functions for each of the variables.

All the code is generated with complementary PHPDoc embedded documentation marks.

Currently the class does not generate code to perform the actual database accesses to retrieve and store the values of the table rows.

Picture of Robert Kummer
Name: Robert Kummer <contact>
Classes: 3 packages by
Country: Germany Germany
Age: 41
All time rank: 36621 in Germany Germany
Week rank: 563 Down20 in Germany Germany Up

  Files folder image Files  
File Role Description
Plain text file generateClass.php Class CodeGenerator base class and commandline execution
Accessible without login Plain text file generate.bat Data command line start program (win)

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,624
This week:200Up
User Ratings User Comments (2)
 All time
This package may be old but it still works.
6 years ago (Marc Covert)
13 years ago (kishore kumar)