+
+ /**
+ * "Getter" for default command
+ *
+ * @return $defaultCommand Default command for this response
+ */
+ public function determineDefaultCommand () {
+ // Get application instance
+ $applicationInstance = Registry::getRegistry()->getInstance('app');
+
+ // Generate config key
+ $configKey = sprintf('default_%s_%s_command',
+ $applicationInstance->getAppShortName(),
+ $this->getResponseType()
+ );
+
+ // Get default command response
+ $defaultCommand = $this->getConfigInstance()->getConfigEntry($configKey);
+
+ // Return it
+ return $defaultCommand;
+ }