Login   Register  
PHP Classes
elePHPant
Icontem

genpo: Generate class to access table records as objects

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (17)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-09-25 (6 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 613 All time: 4,680 This week: 1,524Up
Version License PHP version Categories  
genpo 1.0BSD License5.0PHP 5, Databases, Code Generation
Description Author  

This class can be used to generate a class to access the records of a table as objects.

It takes the name of a table and a list of fields to generates a PHP class with functions to store and retrieve objects of that class in the specified fields of the given table.

The generated class includes getter and setter functions, as well functions to retrieve, insert and update records in the database using the class variables.

Picture of zengwenjie
Name: zengwenjie <contact>
Classes: 3 packages by
Country: China China
Age: 36
All time rank: 120014 in China China
Week rank: 642 Up5 in China China Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imageado (11 files, 1 directory)
Accessible without login Plain text file class.compinfo.php Output one generate class
Accessible without login HTML file class.genpo.htm Doc. Generate class description
Plain text file class.genpo.php Class class.genpo.php
Accessible without login Plain text file example.gen.php Example how to genarate a class base one table
Accessible without login Plain text file example.UseNewClass.php Example how to use the generated class

  Files folder image Files  /  ado  
File Role Description
Files folder imagedrivers (1 file)
  Plain text file adodb-active-record.inc.php Class adodb-active-record.inc.php
  Plain text file adodb-csvlib.inc.php Class adodb-csvlib.inc.php
  Plain text file adodb-datadict.inc.php Class adodb-datadict.inc.php
  Plain text file adodb-error.inc.php Class adodb-error.inc.php
  Plain text file adodb-lib.inc.php Class adodb-lib.inc.php
  Plain text file adodb-memcache.lib.inc.php Class adodb-memcache.lib.inc.php
  Plain text file adodb-perf.inc.php Class adodb-perf.inc.php
  Plain text file adodb-php4.inc.php Class adodb-php4.inc.php
  Plain text file adodb-time.inc.php Class adodb-time.inc.php
  Plain text file adodb.inc.php Class adodb.inc.php
  Plain text file class.ConnDb.php Class class.ConnDb.php

  Files folder image Files  /  ado  /  drivers  
File Role Description
  Plain text file adodb-mysql.inc.php Class adodb-mysql.inc.php

 Version Control Unique User Downloads Download Rankings  
 0%Total:613All time:4,680
 This week:0This week:1,524Up