Class name typo fixed, typo goverment->government fixed
[shipsimu.git] / application / ship-simu / main / wrapper / class_UserGovernmentDatabaseWrapper.php
index 8b668c3129c0ad7d0e310bcb63b1bd9bedea150f..b1537af1adb721e0771a85b77af5189b9020bc86 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * A wrapper for database access to goverment->user data
+ * A wrapper for database access to government->user data
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
@@ -21,9 +21,9 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class UserGovermentDatabaseWrapper extends BaseDatabaseWrapper {
+class UserGovernmentDatabaseWrapper extends BaseDatabaseWrapper {
        // Constants for database tables
-       const DB_TABLE_USER_GOVERMENT = "gov_user";
+       const DB_TABLE_USER_GOVERNMENT = "gov_user";
 
        /**
         * Protected constructor
@@ -40,12 +40,12 @@ class UserGovermentDatabaseWrapper extends BaseDatabaseWrapper {
         *
         * @return      $wrapperInstance        An instance of this wrapper class
         */
-       public final static function createUserGovermentDatabaseWrapper () {
+       public final static function createUserGovernmentDatabaseWrapper () {
                // Create a new instance
-               $wrapperInstance = new UserGovermentDatabaseWrapper();
+               $wrapperInstance = new UserGovernmentDatabaseWrapper();
 
                // Set (primary!) table name
-               $wrapperInstance->setTableName(self::DB_TABLE_USER_GOVERMENT);
+               $wrapperInstance->setTableName(self::DB_TABLE_USER_GOVERNMENT);
 
                // Return the instance
                return $wrapperInstance;