Renamed 'seperator' to 'separator'
[core.git] / inc / classes / main / helper / web / links / class_WebLinkHelper.php
index 4ea1819b1b40d7a425690948a2566fca79a9d2ff..dcb01d6468d4b9b336575fc870fe9d68f2843f7b 100644 (file)
@@ -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
                );