]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/helper/html/links/class_HtmlLinkHelper.php
Continued:
[core.git] / framework / main / classes / helper / html / links / class_HtmlLinkHelper.php
index 7c02df3d81eb19b337e0251d4e3bfeda0ebc9421..8e43fcf17ef8c82267f26ab35888a09d8e5b852c 100644 (file)
@@ -7,7 +7,8 @@ use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
 use Org\Mxchange\CoreFramework\Configuration\FrameworkConfiguration;
 use Org\Mxchange\CoreFramework\Generic\NullPointerException;
 use Org\Mxchange\CoreFramework\Helper\Template\HelpableTemplate;
-use Org\Mxchange\CoreFramework\Registry\Registry;
+use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
+use Org\Mxchange\CoreFramework\String\Utils\StringUtils;
 use Org\Mxchange\CoreFramework\Template\CompileableTemplate;
 
 /**
@@ -83,7 +84,7 @@ class HtmlLinkHelper extends BaseHtmlHelper implements HelpableTemplate {
                $helperInstance->setLinkName($linkName);
 
                // Get the application instance
-               $applicationInstance = Registry::getRegistry()->getInstance('application');
+               $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
 
                // Get the request instance
                $requestInstance = FrameworkBootstrap::getRequestInstance();
@@ -95,7 +96,7 @@ class HtmlLinkHelper extends BaseHtmlHelper implements HelpableTemplate {
                } // END - if
 
                // Get page (this will throw an exception if not set)
-               $command = $helperInstance->convertDashesToUnderscores($requestInstance->getRequestElement('command'));
+               $command = StringUtils::convertDashesToUnderscores($requestInstance->getRequestElement('command'));
 
                // Construct config entry
                $configEntry = $command . '_' . $linkName . '_action_url';