*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
+ * @copyright Copyright (c) 2011 - 2012 Cruncher Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
$templateInstance = XmlTemplateEngineFactory::createXmlTemplateEngineInstance('cruncher_test_unit_producer_template_class');
// Load the template
- $templateInstance->loadCruncherTestUnitTemplate('test_unit');
+ $templateInstance->loadXmlTemplate();
// Render the XML content
$templateInstance->renderXmlContent();
$encryptedMessage = $this->getHelperInstance()->generateRandomMessage();
// Debug message
- $this->debugOutput('PRODUCER: An encrypted, random message has been generated. Generating keys ...');
+ self::createDebugInstance(__CLASS__)->debugOutput('PRODUCER: An encrypted, random message has been generated. Generating keys ...');
// Set the encrypted message in the template instance
$this->getTemplateInstance()->assignVariable('encrypted_message', $encryptedMessage);