]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/nodes/regular/class_HubRegularNode.php
Bootstrap filters filled with some content (basicly...)
[hub.git] / application / hub / main / nodes / regular / class_HubRegularNode.php
index 4c497e6136ffc4a94d31311034f9e4e44362a500..46105f22f79c1d991df641b92705d9dfda4bf30b 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class HubRegularNode extends BaseHubNode implements NodeHelper {
+class HubRegularNode extends BaseHubNode implements NodeHelper, Registerable {
        /**
         * Protected constructor
         *
@@ -45,13 +45,6 @@ class HubRegularNode extends BaseHubNode implements NodeHelper {
                // Set the request instance
                $nodeInstance->setRequestInstance($requestInstance);
 
-               // --------------------- Hub-id acquirement phase ---------------------
-               // Acquire a hub-id. This step generates on first launch a new one and
-               // on any later launches it will restore the hub-id from the database.
-               // A passed 'nickname=xxx' argument will be used to add some
-               // 'personality' to the hub.
-               $nodeInstance->acquireHubId();
-
                // Return the instance
                return $nodeInstance;
        }
@@ -65,14 +58,21 @@ class HubRegularNode extends BaseHubNode implements NodeHelper {
         * @todo        Implement this method
         */
        public function doBootstrapping () {
-               // Call generic (parent) bootstrapping method first
-               parent::doGenericBootstrapping();
                $this->partialStub('Please implement this method.');
+       }
 
-               // This is the last line: output teaser
-               $this->outputConsoleTeaser();
+       /**
+        * Initializes hub-specific queues
+        *
+        * @return      void
+        * @todo        Unfinished method
+        */
+       public function initQueues () {
+               // Call generic queues every hub may have, like the core queue
+               parent::initGenericQueues();
+               $this->partialStub('Please add some more hub-specific queues.');
        }
 }
 
-// [EOF]
+//
 ?>