/**
* The version number of this application
*/
- private $appVersion = "";
+ private $appVersion = '';
/**
* The human-readable name for this application
*/
- private $appName = "";
+ private $appName = '';
/**
* The short uni*-like name for this application
*/
- private $shortName = "";
+ private $shortName = '';
/**
* An instance of a controller
*/
public function buildMasterTemplateName () {
// Get short name and add suffix
- $masterTemplateName = str_replace("-", "", $this->getAppShortName()) . "_main";
+ $masterTemplateName = str_replace('-', '', $this->getAppShortName()) . '_main';
// Return it
return $masterTemplateName;
$requestInstance->setRequestElement('page', $commandName);
} // END - if
- // Get a resolver
- $resolverClass = sprintf("%sControllerResolver", $this->convertToClassName($responseType));
+ // Get a controller resolver
+ $resolverClass = $this->convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver');
$resolverInstance = ObjectFactory::createObjectByName($resolverClass, array($commandName, $this));
// Get a controller instance as well