/**
* Creates an instance of the class TemplateEngine and prepares it for usage
*
- * @param $appInstance A manageable application
- * @return $templateInstance An instance of TemplateEngine
+ * @param $applicationInstance A manageable application
+ * @return $templateInstance An instance of TemplateEngine
* @throws BasePathIsEmptyException If the provided $templateBasePath is empty
* @throws InvalidBasePathStringException If $templateBasePath is no string
* @throws BasePathIsNoDirectoryException If $templateBasePath is no
// Then load it
$templateInstance->loadMenuTemplate($templateDependency);
- // Get an XmlParser instance
+ // Parse the XML content
$templateInstance->renderXmlContent();
- // Parse the template's content contents
+ // Save the parsed raw content in our dependency array
$this->dependencyContent[$node] = $templateInstance->getRawTemplateData();
} // END - if
}
/**
* Starts the menu entries
*
- * @param $templateDependency A template to load to satisfy dependencies
+ * @param $templateDependency A template to load to satisfy dependencies
* @return void
*/
private function startEntryList () {