X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fclasses%2Fmain%2Fhelper%2Fweb%2Flinks%2Fclass_WebLinkHelper.php;fp=inc%2Fclasses%2Fmain%2Fhelper%2Fweb%2Flinks%2Fclass_WebLinkHelper.php;h=dcb01d6468d4b9b336575fc870fe9d68f2843f7b;hb=f97af6b5b50bc961ec5ad850b73765d64811a5bc;hp=4ea1819b1b40d7a425690948a2566fca79a9d2ff;hpb=48d09a606e035cd9118191e1b0722368556f88ae;p=core.git diff --git a/inc/classes/main/helper/web/links/class_WebLinkHelper.php b/inc/classes/main/helper/web/links/class_WebLinkHelper.php index 4ea1819b..dcb01d64 100644 --- a/inc/classes/main/helper/web/links/class_WebLinkHelper.php +++ b/inc/classes/main/helper/web/links/class_WebLinkHelper.php @@ -33,14 +33,14 @@ class WebLinkHelper extends BaseWebHelper implements HelpableTemplate { private $linkBase = ''; /** - * First parameter seperator + * First parameter separator */ - const FIRST_PARAMETER_SEPERATOR = '?'; + const FIRST_PARAMETER_SEPARATOR = '?'; /** - * Seperator for more paraemters + * SEPARATOR for more paraemters */ - const EXTRA_PARAMETER_SEPERATOR = '&'; + const EXTRA_PARAMETER_SEPARATOR = '&'; /** * Protected constructor @@ -276,19 +276,19 @@ class WebLinkHelper extends BaseWebHelper implements HelpableTemplate { throw new NoGroupOpenedException(array($this, $linkAction . '(' . $linkText . ')'), self::EXCEPTION_GROUP_NOT_OPENED); } // END - if - // Default parameter seperator is & - $seperator = self::EXTRA_PARAMETER_SEPERATOR; + // Default parameter SEPARATOR is & + $separator = self::EXTRA_PARAMETER_SEPARATOR; // Is there a question mark in? - $linkArray = explode(self::FIRST_PARAMETER_SEPERATOR, $this->getLinkBase()); + $linkArray = explode(self::FIRST_PARAMETER_SEPARATOR, $this->getLinkBase()); if (count($linkArray) == 0) { // No question mark - $seperator = self::FIRST_PARAMETER_SEPERATOR; + $separator = self::FIRST_PARAMETER_SEPARATOR; } // END - if // Prepare action $action = sprintf("%saction=%s", - $seperator, + $separator, $linkAction );