PHP Classes

genpo: Generate class to access table records as objects

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 626 All time: 5,052 This week: 38Up
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
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (17)  
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 (17)  /  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 (17)  /  ado  /  drivers  
File Role Description
  Plain text file adodb-mysql.inc.php Class adodb-mysql.inc.php

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:626
This week:0
All time:5,052
This week:38Up