]> git.mxchange.org Git - city.git/commitdiff
It is the city daemon ...
authorRoland Haeder <roland@mxchange.org>
Sun, 28 Jun 2015 19:53:31 +0000 (21:53 +0200)
committerRoland Haeder <roland@mxchange.org>
Sun, 28 Jun 2015 19:53:31 +0000 (21:53 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/city/interfaces/helper/city/class_CityHelper.php
application/city/main/city_daemon/class_BaseCityDaemon.php
application/city/main/commands/console/class_CityConsoleDaemonCommand.php

index bf4a413f36984686d6bd9b4c289e4a19a2daaf28..2883ae6e84213f6d62035111ef42357e62a65227 100644 (file)
@@ -54,14 +54,14 @@ interface CityHelper extends Helper, AddableCriteria {
        function addExtraCityFilters ();
 
        /**
-        * Activates the hub by doing some final preparation and setting
-        * $hubIsActive to TRUE.
+        * Activates the city daemon by doing some final preparation and setting
+        * $cityIsActive to TRUE.
         *
         * @param       $requestInstance        A Requestable class
         * @param       $responseInstance       A Responseable class
         * @return      void
         */
-       function activateCity (Requestable $requestInstance, Responseable $responseInstance);
+       function activateCityDaemon (Requestable $requestInstance, Responseable $responseInstance);
 
        /**
         * Updates/refreshes city data (e.g. state).
index 661c6138b631840a5061c4592a5272620766e83e..8735bbbadccccae017764edc1dc5f2858c7b22ac 100644 (file)
@@ -171,7 +171,7 @@ class BaseCityDaemon extends BaseCitySystem implements Updateable, AddableCriter
         * @param       $responseInstance       A Responseable class
         * @return      void
         */
-       public function activateCity (Requestable $requestInstance, Responseable $responseInstance) {
+       public function activateCityDaemon (Requestable $requestInstance, Responseable $responseInstance) {
                // Get the controller here
                $controllerInstance = Registry::getRegistry()->getInstance('controller');
 
index a49d86d2f3af57cc482a670bb49983f6e49af7ad..a0f444b045c6063ef1a004f01e08cf1bd8c9ad5b 100644 (file)
@@ -79,10 +79,10 @@ class CityConsoleDaemonCommand extends BaseCommand implements Commandable {
 
                /*
                 * -------------------------- City activation --------------------------
-                * Activates the city by doing some final preparation steps and setting
-                * the attribute $hubIsActive to TRUE.
+                * Activates the city daemon by doing some final preparation steps and
+                * setting the attribute $cityIsActive to TRUE.
                 */
-               $cityInstance->activateCity($requestInstance, $responseInstance);
+               $cityInstance->activateCityDaemon($requestInstance, $responseInstance);
 
                // Get task handler instance
                $handlerInstance = Registry::getRegistry()->getInstance('task_handler');