*
* @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, this is free software
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
* @return void
*/
protected final function setActionName ($actionName) {
- $this->actionName = $actionName;
+ $this->actionName = (string) $actionName;
}
/**
*
* @return $actionName Last validated action name
*/
- protected final function getActionName () {
+ public final function getActionName () {
return $this->actionName;
}
$isValid = true;
} // END - if
- // Debug output
- //* DEBUG: */ $this->debugBackTrace();
-
// Set action name
$this->setActionName($actionName);
* "Loads" current action and instances it if not yet cached
*
* @return $actionInstance A loaded action instance
- * @throws InvalidActionException Thrown if even the default
- * action class is missing (bad!)
*/
protected function loadAction () {
// Init action instance