Location: PHPKode > scripts > Simple Abstract Table > simple-abstract-table/news.table.class.php
<?php
 
// Here is the only important thing you have to do to use the class
require_once "table.abstract.php";
class news extends table{

	//Define the table name
	function table_name(){
		return "news";
	}
	 
	//You can override the table_primary_key function to return the name of the real primary key field
	//By default it is id.
	//
	//	function table_primary_key(){
	//		return "primary_key";
	//	}
	
	
}
?>
Return current item: Simple Abstract Table