$templateInstance->assignVariable('image_fg_blue' , $this->foregroundColor['blue']);
// Add all strings
- foreach ($this->imageStrings as $id=>$imageString) {
- // Set current string id
+ foreach ($this->imageStrings as $id => $imageString) {
+ // Set current string id to keep this helper in sync with template engine
$this->currString = $id;
// Set variable group
$imageContent = $templateInstance->getRawTemplateData();
// Transfer all to the template engine
- $templateInstance->renderImageContent($imageContent);
+ $templateInstance->renderXmlContent($imageContent);
}
}