00001 <?php 00024 class PaymentsDatabaseWrapper extends BaseDatabaseWrapper { 00025 // Constants for exceptions 00026 const EXCEPTION_CLIENT_USERNAME_NOT_FOUND = 0x180; 00027 00028 // Constants for database table names 00029 const DB_TABLE_PAYMENTS = "payments"; 00030 00036 protected function __construct() { 00037 // Call parent constructor 00038 parent::__construct(__CLASS__); 00039 } 00040 00046 public final static function createPaymentsDatabaseWrapper () { 00047 // Get a new instance 00048 $wrapperInstance = new PaymentsDatabaseWrapper(); 00049 00050 // Set (primary!) table name 00051 $wrapperInstance->setTableName(self::DB_TABLE_PAYMENTS); 00052 00053 // Return the instance 00054 return $wrapperInstance; 00055 } 00056 } 00057 00058 // [EOF] 00059 ?>
1.5.6