$applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
// Adds the resolved message id to the fatal message list
- $this->addFatalMessagePlain($applicationInstance()->getLanguageInstance()->getMessage($messageId));
+ $this->addFatalMessagePlain($applicationInstance->getLanguageInstance()->getMessage($messageId));
}
/**
$this->getWebOutputInstance()->output($this->responseBody);
} else {
// Display all error messages
- $applicationInstance()->handleFatalMessages($this->getGenericArrayKey('fatal_messages', 'generic', 'message'));
+ $applicationInstance->handleFatalMessages($this->getGenericArrayKey('fatal_messages', 'generic', 'message'));
// Send the error messages out to the world
$this->getWebOutputInstance()->output($this->responseBody);
} // END - if
// Assign application data
- $this->getTemplateInstance()->assignApplicationData($applicationInstance());
+ $this->getTemplateInstance()->assignApplicationData($applicationInstance);
// Get the url from config
$url = $this->getConfigInstance()->getConfigEntry($configEntry . '_url');
} // END - if
// Assign application data
- $this->getTemplateInstance()->assignApplicationData($applicationInstance());
+ $this->getTemplateInstance()->assignApplicationData($applicationInstance);
// Get the url from config
$url = $this->getConfigInstance()->getConfigEntry($configEntry . '_url');