* Michal Cihar <michal@cihar.com>, licensed under GNU GPL 2.0.
*/
class ImageResponse extends BaseResponse implements Responseable {
- /**
- * Instance of the image
- */
- private $imageInstance = null;
-
/**
* Protected constructor
*
$cfg = $this->getConfigInstance();
// Set new template engine
- $cfg->setConfigEntry('template_class' , $cfg->getConfigEntry('image_template_class'));
+ $cfg->setConfigEntry('web_template_class' , $cfg->getConfigEntry('image_template_class'));
$cfg->setConfigEntry('raw_template_extension' , '.img');
$cfg->setConfigEntry('code_template_extension', '.xml');
$cfg->setConfigEntry('tpl_base_path' , 'templates/images/');
} // END - if
}
- /**
- * Setter for image instanxe
- *
- * @param $imageInstance An instance of an image
- * @return void
- */
- public final function setImageInstance (BaseImage $imageInstance) {
- $this->imageInstance = $imageInstance;
- }
-
- /**
- * Getter for image instanxe
- *
- * @return $imageInstance An instance of an image
- */
- public final function getImageInstance () {
- return $this->imageInstance;
- }
-
/**
* Getter for default command
*