*
* @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
*
}
/**
- * 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)) {
// Is this class already loaded?
if (class_exists($this->getClassName())) {
// This class does exist. :-)
- $isValid = true;
+ $isValid = TRUE;
} // END - if
// Set action name
*/
protected function loadAction () {
// Init action instance
- $actionInstance = null;
+ $actionInstance = NULL;
// Create action class name
$className = $this->getClassPrefix() . $this->convertToClassName($this->getActionName()) . 'Action';