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 3d163550839e292a1bb78d753c0e2a96d257a4ac..8e43fcf17ef8c82267f26ab35888a09d8e5b852c 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';