]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/database/wrapper/class_UserPointsDatabaseWrapper.php
Copyright updated
[core.git] / inc / classes / main / database / wrapper / class_UserPointsDatabaseWrapper.php
index 54beb6e3ace86984655b78776c1ef4b58f7f24f0..f0cfb873cbc6ef36b402d3c51bdbf572d94ce77d 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -25,24 +25,24 @@ class UserPointsDatabaseWrapper extends BaseDatabaseWrapper implements BookableP
        /**
         * Constants for database table names
         */
-       const DB_TABLE_USER_POINTS = "user_points";
+       const DB_TABLE_USER_POINTS = 'user_points';
 
        /**
         * Name of the user->points column
         */
-       const DB_COLUMN_POINTS_UID = "points_uid";
+       const DB_COLUMN_POINTS_UID = 'points_uid';
 
        /**
         * Name of the points column
         */
-       const DB_COLUMN_POINTS = "points";
+       const DB_COLUMN_POINTS = 'points';
 
        /**
         * Protected constructor
         *
         * @return      void
         */
-       protected function __construct() {
+       protected function __construct () {
                // Call parent constructor
                parent::__construct(__CLASS__);
        }
@@ -52,7 +52,7 @@ class UserPointsDatabaseWrapper extends BaseDatabaseWrapper implements BookableP
         *
         * @return      $wrapperInstance        An instance of the created wrapper class
         */
-       public final static function createUserPointsDatabaseWrapper () {
+       public static final function createUserPointsDatabaseWrapper () {
                // Get a new instance
                $wrapperInstance = new UserPointsDatabaseWrapper();