$commandInstance = NULL;
// Create class name
- $className = $this->getCapitalizedClassPrefix() . $this->convertToClassName($commandName) . 'Command';
+ $className = $this->getCapitalizedClassPrefix() . self::convertToClassName($commandName) . 'Command';
// Create command class name
$this->setClassName($className);
// Is the command empty? Then fall back to default command
if (empty($commandName)) {
- $commandName = $this->getConfigInstance()->getConfigEntry('default_html_command');
+ $commandName = $this->getConfigInstance()->getConfigEntry('default_' . self::getResponseTypeFromSystem() . '_command');
} // END - if
// Check if command is valid
// Is the command empty? Then fall back to default command
if (empty($commandName)) {
- $commandName = $this->getConfigInstance()->getConfigEntry('default_html_command');
+ $commandName = $this->getConfigInstance()->getConfigEntry('default_' . self::getResponseTypeFromSystem() . '_command');
} // END - if
// Check if command is valid
} // END - if
// Create the full class name
- $className = $this->getCapitalizedClassPrefix() . $this->convertToClassName($commandName) . 'Command';
+ $className = $this->getCapitalizedClassPrefix() . self::convertToClassName($commandName) . 'Command';
// Now, let us create the full name of the command class
$this->setClassName($className);