class_UserGovernmentDatabaseWrapper.php

Go to the documentation of this file.
00001 <?php
00024 class UserGovernmentDatabaseWrapper extends BaseDatabaseWrapper {
00025         // Constants for database tables
00026         const DB_TABLE_USER_GOVERNMENT = "gov_user";
00027 
00033         protected function __construct () {
00034                 // Call parent constructor
00035                 parent::__construct(__CLASS__);
00036         }
00037 
00043         public final static function createUserGovernmentDatabaseWrapper () {
00044                 // Create a new instance
00045                 $wrapperInstance = new UserGovernmentDatabaseWrapper();
00046 
00047                 // Set (primary!) table name
00048                 $wrapperInstance->setTableName(self::DB_TABLE_USER_GOVERNMENT);
00049 
00050                 // Return the instance
00051                 return $wrapperInstance;
00052         }
00053 }
00054 
00055 // [EOF]
00056 ?>

Generated on Mon Dec 8 01:06:44 2008 for Ship-Simulator by  doxygen 1.5.6