*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
* @param $imageType Type of the image
* @return $helperInstance A preparedf instance of this helper
*/
- public final static function createImageHelper (CompileableTemplate $templateInstance, $imageType) {
+ public static final function createImageHelper (CompileableTemplate $templateInstance, $imageType) {
// Get new instance
$helperInstance = new ImageHelper();
$templateInstance = $this->getTemplateInstance();
// Get the base image
- $templateInstance->loadCodeTemplate($this->getBaseImage());
+ $templateInstance->loadImageTemplate($this->getBaseImage());
// Assign all the image values with the template
$templateInstance->assignVariable('image_name' , $this->getImageName());