Continued:
authorRoland Häder <roland@mxchange.org>
Sat, 14 Apr 2018 21:26:51 +0000 (23:26 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 14 Apr 2018 21:26:51 +0000 (23:26 +0200)
- convertDashesToUnderscores() is invoked static by
  StringUtils::convertDashesToUnderscores

Signed-off-by: Roland Häder <roland@mxchange.org>
framework/main/classes/helper/html/links/class_HtmlLinkHelper.php

index 3d16355..8e43fcf 100644 (file)
@@ -8,6 +8,7 @@ use Org\Mxchange\CoreFramework\Configuration\FrameworkConfiguration;
 use Org\Mxchange\CoreFramework\Generic\NullPointerException;
 use Org\Mxchange\CoreFramework\Helper\Template\HelpableTemplate;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
+use Org\Mxchange\CoreFramework\String\Utils\StringUtils;
 use Org\Mxchange\CoreFramework\Template\CompileableTemplate;
 
 /**
@@ -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';