]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/resolver/state/class_BaseStateResolver.php
Updated to latest 'core' + convertToClassName() and convertDashesToUnderscores()...
[hub.git] / application / hub / main / resolver / state / class_BaseStateResolver.php
index 5d4e15146c1c25379a8c85b49a72d1e1a328f789..8744b71560d698236159d83a38fd53bdadfeb422 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  *
@@ -96,7 +96,7 @@ class BaseStateResolver extends BaseResolver {
                $stateInstance = NULL;
 
                // Create state class name
-               $className = $this->getStatePrefix() . '' . $this->convertToClassName($stateName) . 'State';
+               $className = $this->getStatePrefix() . '' . self::convertToClassName($stateName) . 'State';
 
                // ... and set it
                $this->setClassName($className);
@@ -136,7 +136,7 @@ class BaseStateResolver extends BaseResolver {
                } // END - if
 
                // Create class name
-               $className = $this->statePrefix . $this->convertToClassName($stateName) . 'State';
+               $className = $this->statePrefix . self::convertToClassName($stateName) . 'State';
 
                // Now, let us create the full name of the state class
                $this->setClassName($className);