]> git.mxchange.org Git - hub.git/commitdiff
Moved getter/setter to proper location.
authorRoland Haeder <roland@mxchange.org>
Fri, 17 Oct 2014 21:21:25 +0000 (23:21 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 17 Oct 2014 21:21:25 +0000 (23:21 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/main/class_BaseHubSystem.php

index c924c4e17c863e2d632e6fc4877a51489598eea3..f41ac725c436f6183ff6dd90a3fb2c0dcd007d8d 100644 (file)
@@ -453,6 +453,25 @@ class BaseHubSystem extends BaseFrameworkSystem {
                return $this->getConfigInstance()->getConfigEntry('session_id');
        }
 
+       /**
+        * Getter for protocol name
+        *
+        * @return      $protocolName   Name of used protocol
+        */
+       public final function getProtocolName () {
+               return $this->protocolName;
+       }
+
+       /**
+        * Setter for protocol name
+        *
+        * @param       $protocolName   Name of used protocol
+        * @return      void
+        */
+       protected final function setProtocolName ($protocolName) {
+               $this->protocolName = $protocolName;
+       }
+
        /**
         * Constructs a callable method name from given socket error code. If the
         * method is not found, a generic one is used.
@@ -684,25 +703,6 @@ class BaseHubSystem extends BaseFrameworkSystem {
                // Return result
                return $stateName;
        }
-
-       /**
-        * Getter for protocol name
-        *
-        * @return      $protocolName   Name of used protocol
-        */
-       public final function getProtocolName () {
-               return $this->protocolName;
-       }
-
-       /**
-        * Setter for protocol name
-        *
-        * @param       $protocolName   Name of used protocol
-        * @return      void
-        */
-       protected final function setProtocolName ($protocolName) {
-               $this->protocolName = $protocolName;
-       }
 }
 
 // [EOF]