Login   Register  
PHP Classes
elePHPant
Icontem

table_class: Base class to be extended for any mysql table

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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2002-11-18 (11 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 884 All time: 3,680 This week: 1,968Up
Version License Categories  
table_class 1.0Artistic LicenseDatabases
Description Author  

This is the base class that you would extend to create a php object for any mysql table.

All the Fields of the table become variables accessed through the $myObj->properties[] array

Example:

$myObj->properties[client_name] == "Matthew A. Malenski"

NOTE: use a field labled "id" as the key

Picture of Matt Malenski
Name: Matt Malenski <contact>
Classes: 4 packages by
Country: United States United States
Age: 39
All time rank: 32236 in United States United States
Week rank: 1080 Down113 in United States United States Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example of an instance of the table class
Plain text file project_table_class.php Class Example of HOW TO extend the table class
Plain text file table_class.php Class table class soruce code

 Version Control Unique User Downloads Download Rankings  
 0%Total:884All time:3,680
 This week:0This week:1,968Up