]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/resolver/action/class_BaseActionResolver.php
Made lower to upper case:
[core.git] / inc / classes / main / resolver / action / class_BaseActionResolver.php
index 601b00e6b99b71c7956444725eac4ea489e3b6a6..36b584ff5ded2eae395ad7c35024fdf4dbf9c8e6 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -58,15 +58,15 @@ class BaseActionResolver extends BaseResolver {
        }
 
        /**
-        * Checks wether the given action is valid
+        * Checks whether the given action is valid
         *
         * @param       $actionName     The default action we shall execute
-        * @return      $isValid                Wether the given action is valid
+        * @return      $isValid                Whether the given action is valid
         * @throws      EmptyVariableException  Thrown if given action is not set
         */
        public function isActionValid ($actionName) {
                // By default nothing shall be valid
-               $isValid = false;
+               $isValid = FALSE;
 
                // Is a action set?
                if (empty($actionName)) {
@@ -83,7 +83,7 @@ class BaseActionResolver extends BaseResolver {
                // Is this class already loaded?
                if (class_exists($this->getClassName())) {
                        // This class does exist. :-)
-                       $isValid = true;
+                       $isValid = TRUE;
                } // END - if
 
                // Set action name
@@ -100,7 +100,7 @@ class BaseActionResolver extends BaseResolver {
         */
        protected function loadAction () {
                // Init action instance
-               $actionInstance = null;
+               $actionInstance = NULL;
 
                // Create action class name
                $className = $this->getClassPrefix() . $this->convertToClassName($this->getActionName()) . 'Action';