*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007 - 2009 Roland Haeder, this is free software
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
parent::__construct($className);
}
+ /**
+ * Getter for command prefix
+ *
+ * @return $commandPrefix Last validated commandPrefix
+ */
+ protected final function getCommandPrefix () {
+ return $this->commandPrefix;
+ }
+
/**
* Setter for command prefix
*
} // END - if
// Create the full class name
- $className = $this->commandPrefix . $this->convertToClassName($commandName) . 'Command';
+ $className = $this->getCommandPrefix() . $this->convertToClassName($commandName) . 'Command';
// Now, let us create the full name of the command class
$this->setClassName($className);