/**
* Creates an object of this class
*
- * @param $appInstance An instance of a manageable application
- * @return $responseInstance A prepared instance of this class
+ * @param $applicationInstance An instance of a manageable application
+ * @return $responseInstance A prepared instance of this class
*/
- public static final function createImageResponse (ManageableApplication $appInstance) {
+ public static final function createImageResponse (ManageableApplication $applicationInstance) {
// Get a new instance
$responseInstance = new ImageResponse();
// Set the application instance
- $responseInstance->setApplicationInstance($appInstance);
+ $responseInstance->setApplicationInstance($applicationInstance);
// Initialize the template engine here
- $responseInstance->initTemplateEngine($appInstance);
+ $responseInstance->initTemplateEngine($applicationInstance);
// Return the prepared instance
return $responseInstance;
/**
* Initializes the template engine instance
*
- * @param $appInstance An instance of a manageable application
+ * @param $applicationInstance An instance of a manageable application
* @return void
*/
- public final function initTemplateEngine (ManageableApplication $appInstance) {
+ public final function initTemplateEngine (ManageableApplication $applicationInstance) {
// Get config instance
$cfg = $this->getConfigInstance();
$cfg->setConfigEntry('code_template_type' , 'image');
// Get a prepared instance
- $this->setTemplateInstance($this->prepareTemplateInstance($appInstance));
+ $this->setTemplateInstance($this->prepareTemplateInstance($applicationInstance));
}
/**