From: Roland Häder Date: Wed, 2 Dec 2009 11:37:14 +0000 (+0000) Subject: Typos fixed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7f7a73a23398748d13dac8fbf289702e635ceb05;p=core.git Typos fixed --- diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index afb1cfaa..0b14dcbb 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -929,7 +929,7 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface { * @return $localized Localized value */ public function doFilterFormatNumber ($value) { - // Generate it from config and localize depencies + // Generate it from config and localize dependencies switch ($this->getLanguageInstance()->getLanguageCode()) { case 'de': // German format is a bit different to default $localized = number_format($value, $this->getConfigInstance()->getConfigEntry('decimals'), ',', '.'); diff --git a/inc/classes/main/template/menu/class_MenuTemplateEngine.php b/inc/classes/main/template/menu/class_MenuTemplateEngine.php index ef169e40..37dfca2c 100644 --- a/inc/classes/main/template/menu/class_MenuTemplateEngine.php +++ b/inc/classes/main/template/menu/class_MenuTemplateEngine.php @@ -68,9 +68,9 @@ class MenuTemplateEngine extends BaseTemplateEngine implements CompileableTempla private $curr = array(); /** - * Content from depency + * Content from dependency */ - private $depencyContent = array(); + private $dependencyContent = array(); /** * Protected constructor @@ -284,42 +284,42 @@ class MenuTemplateEngine extends BaseTemplateEngine implements CompileableTempla } /** - * Handles the template depency for given node + * Handles the template dependency for given node * - * @param $node The node we should load a depency template - * @param $templateDepency A template to load to satisfy depencies + * @param $node The node we should load a dependency template + * @param $templateDependency A template to load to satisfy dependencies * @return void */ - private function handleTemplateDepency ($node, $templateDepency) { - // Is the template depency set? - if ((!empty($templateDepency)) && (!isset($this->depencyContent[$node]))) { + private function handleTemplateDependency ($node, $templateDependency) { + // Is the template dependency set? + if ((!empty($templateDependency)) && (!isset($this->dependencyContent[$node]))) { // Get a temporay menu template instance $templateInstance = ObjectFactory::createObjectByConfiguredName('menu_template_class', array($this->getApplicationInstance(), $this->getMenuInstance())); // Then load it - $templateInstance->loadMenuTemplate($templateDepency); + $templateInstance->loadMenuTemplate($templateDependency); // Get an XmlParser instance $templateInstance->renderXmlContent(); // Parse the template's content contents - $this->depencyContent[$node] = $templateInstance->getRawTemplateData(); + $this->dependencyContent[$node] = $templateInstance->getRawTemplateData(); } // END - if } /** * Intializes the menu * - * @param $templateDepency A template to load to satisfy depencies + * @param $templateDependency A template to load to satisfy dependencies * @return void * @todo Add cache creation here */ - private function initMenu ($templateDepency = '') { + private function initMenu ($templateDependency = '') { // Get web template engine $this->setTemplateInstance(ObjectFactory::createObjectByConfiguredName('web_template_class', array($this->getApplicationInstance()))); - // Handle the depency template - $this->handleTemplateDepency('menu', $templateDepency); + // Handle the dependency template + $this->handleTemplateDependency('menu', $templateDependency); // Load the header template for this page $this->getTemplateInstance()->loadCodeTemplate('menu_global_start'); @@ -348,14 +348,14 @@ class MenuTemplateEngine extends BaseTemplateEngine implements CompileableTempla } /** - * Starts the menu entries by loading a (maybe) provided template depency + * Starts the menu entries by loading a (maybe) provided template dependency * - * @param $templateDepency A template to load to satisfy depencies + * @param $templateDependency A template to load to satisfy dependencies * @return void */ - private function startEntryList ($templateDepency = '') { - // Handle the depency template - $this->handleTemplateDepency('entries', $templateDepency); + private function startEntryList ($templateDependency = '') { + // Handle the dependency template + $this->handleTemplateDependency('entries', $templateDependency); // Load the header template for this page $this->getTemplateInstance()->loadCodeTemplate('menu_entries_start');