From: Roland Haeder <roland@mxchange.org>
Date: Fri, 17 Oct 2014 21:21:25 +0000 (+0200)
Subject: Moved getter/setter to proper location.
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9b691d90f6bed095edf1a099ba570a8dcdbcd1cc;p=hub.git

Moved getter/setter to proper location.

Signed-off-by: Roland Haeder <roland@mxchange.org>
---

diff --git a/application/hub/main/class_BaseHubSystem.php b/application/hub/main/class_BaseHubSystem.php
index c924c4e17..f41ac725c 100644
--- a/application/hub/main/class_BaseHubSystem.php
+++ b/application/hub/main/class_BaseHubSystem.php
@@ -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]