// Debug message
$this->debugOutput('HELPER: Starting with announcement to upper hubs...');
- // Get the application instance
- $applicationInstance = Registry::getRegistry()->getInstance('app');
-
// Get a XML template instance
- $templateInstance = ObjectFactory::createObjectByConfiguredName('node_announcement_template_class');
-
- // Disable language support
- $templateInstance->enableLanguageSupport(false);
-
- /*
- * Enable compacting/rewriting of the XML to save bandwidth from XML
- * comments. This is expensive and should be avoided in general.
- */
- $templateInstance->enableXmlCompacting();
+ $templateInstance = XmlTemplateEngineFactory::createXmlTemplateEngineInstance('node_announcement_template_class');
// Set it for later use
$this->setTemplateInstance($templateInstance);
// Debug message
$this->debugOutput('HELPER: Attempting self-connect...');
- // Get the application instance
- $applicationInstance = Registry::getRegistry()->getInstance('app');
-
// Get a XML template instance
- $templateInstance = ObjectFactory::createObjectByConfiguredName('node_self_connect_template_class');
-
- // Disable language support
- $templateInstance->enableLanguageSupport(false);
-
- /*
- * Enable compacting/rewriting of the XML to save bandwidth from XML
- * comments. This is expensive and should be avoided in general.
- */
- $templateInstance->enableXmlCompacting();
+ $templateInstance = XmlTemplateEngineFactory::createXmlTemplateEngineInstance('node_self_connect_template_class');
// Set it for later use
$this->setTemplateInstance($templateInstance);
./application/hub/main/package/class_NetworkPackage.php:383: // @TODO Add some logging here
./application/hub/main/package/class_NetworkPackage.php:409: // @TODO Add some logging here
./application/hub/main/pools/peer/class_DefaultPeerPool.php:148: // @TODO Check for IP
-./application/hub/main/producer/cruncher/work_units/class_CruncherTestUnitProducer.php:52: * @todo 0% done
+./application/hub/main/producer/cruncher/work_units/class_CruncherTestUnitProducer.php:55: * @todo 0% done
./application/hub/main/resolver/state/network/class_NetworkStateResolver.php:68: * @todo ~30% done
./application/hub/main/resolver/state/network/class_NetworkStateResolver.php:80: // @TODO On some systems it is 134, on some 107?
./application/hub/main/tasks/cruncher/class_CruncherTestUnitProducerTask.php:53: * @todo Maybe visit some sub-objects
./application/hub/main/tasks/hub/ping/class_HubPingTask.php:73: * @todo 0% done
./application/hub/main/tasks/hub/update/class_HubUpdateCheckTask.php:53: * @todo 0%
./application/hub/main/template/announcement/class_XmlAnnouncementTemplateEngine.php:10: * @todo This template engine does not make use of setTemplateType()
-./application/hub/main/template/announcement/class_XmlAnnouncementTemplateEngine.php:245: * @todo Find something useful with this!
+./application/hub/main/template/announcement/class_XmlAnnouncementTemplateEngine.php:247: * @todo Find something useful with this!
./application/hub/main/template/connect/class_XmlSelfConnectTemplateEngine.php:10: * @todo This template engine does not make use of setTemplateType()
-./application/hub/main/template/connect/class_XmlSelfConnectTemplateEngine.php:238: * @todo Find something useful with this!
+./application/hub/main/template/connect/class_XmlSelfConnectTemplateEngine.php:240: * @todo Find something useful with this!
./application/hub/main/template/objects/class_XmlObjectRegistryTemplateEngine.php:10: * @todo This template engine does not make use of setTemplateType()
-./application/hub/main/template/objects/class_XmlObjectRegistryTemplateEngine.php:249: * @todo Find something useful with this!
+./application/hub/main/template/objects/class_XmlObjectRegistryTemplateEngine.php:251: * @todo Find something useful with this!
./application/hub/main/tools/class_HubTools.php:128: // @TODO We may want to encapsulate this PHP call into an own class
./application/hub/main/visitor/tasks/class_ActiveTaskVisitor.php:105: * @todo Does a query needs to perform some actions as an active task?
./application/hub/main/visitor/tasks/class_ActiveTaskVisitor.php:116: * @todo Does a queue needs to perform some actions as an active task?
./inc/classes/main/template/class_BaseTemplateEngine.php:961: * @todo Unfinished work or don't die here.
./inc/classes/main/template/class_BaseTemplateEngine.php:978: // @TODO Non-string found so we need some deeper analysis...
./inc/classes/main/template/console/class_ConsoleTemplateEngine.php:10: * @todo This template engine does not make use of setTemplateType()
-./inc/classes/main/template/image/class_ImageTemplateEngine.php:213: * @todo Find something usefull with this!
-./inc/classes/main/template/image/class_ImageTemplateEngine.php:233: * @todo Add cache creation here
+./inc/classes/main/template/image/class_ImageTemplateEngine.php:215: * @todo Find something usefull with this!
+./inc/classes/main/template/image/class_ImageTemplateEngine.php:235: * @todo Add cache creation here
./inc/classes/main/template/mail/class_MailTemplateEngine.php:10: * @todo This template engine does not make use of setTemplateType()
-./inc/classes/main/template/mail/class_MailTemplateEngine.php:226: * @todo Add cache creation here
-./inc/classes/main/template/mail/class_MailTemplateEngine.php:236: * @todo Should we call back the mailer class here?
-./inc/classes/main/template/mail/class_MailTemplateEngine.php:317: * @todo 0% done
-./inc/classes/main/template/menu/class_MenuTemplateEngine.php:265: * @todo Find something useful with this!
-./inc/classes/main/template/menu/class_MenuTemplateEngine.php:311: * @todo Add cache creation here
+./inc/classes/main/template/mail/class_MailTemplateEngine.php:228: * @todo Add cache creation here
+./inc/classes/main/template/mail/class_MailTemplateEngine.php:238: * @todo Should we call back the mailer class here?
+./inc/classes/main/template/mail/class_MailTemplateEngine.php:319: * @todo 0% done
+./inc/classes/main/template/menu/class_MenuTemplateEngine.php:267: * @todo Find something useful with this!
+./inc/classes/main/template/menu/class_MenuTemplateEngine.php:313: * @todo Add cache creation here
./inc/classes/main/user/class_BaseUser.php:308: * @todo Try to make this method more generic so we can move it in BaseFrameworkSystem
./inc/classes/main/user/class_BaseUser.php:80: * @todo Find a way of casting here. "(int)" might destroy the user id > 32766
./inc/classes/main/user/member/class_Member.php:84: * @todo Add more ways over creating user classes