From: Roland Haeder Date: Sun, 25 Oct 2015 14:20:46 +0000 (+0100) Subject: Continued a bit: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ddd2336b9518941e92b0c55adbc51a7c9de98e7f;p=city.git Continued a bit: - added "partial" stub method renderCityMap() - updated Freeplane mind map with more ideas for web-based (first) client Signed-off-by: Roland Haeder --- diff --git a/application/city/classes/manager/city/class_CityManager.php b/application/city/classes/manager/city/class_CityManager.php index 64f7983..e8bb312 100644 --- a/application/city/classes/manager/city/class_CityManager.php +++ b/application/city/classes/manager/city/class_CityManager.php @@ -113,6 +113,16 @@ class CityManager extends BaseManager implements ManageableCity { // Then create the first city $this->getWrapperInstance()->createCityByRequest($this->getRequestInstance()); } + + /** + * Renders the city map and forwards the output to the helper instance. + * + * @param $helperInstance An instance of a HelpableTemplate class + * @return void + */ + public function renderCityMap (HelpableTemplate $helperInstance) { + $this->partialStub('Please implement this method.'); + } } // [EOF] diff --git a/application/city/interfaces/manager/city/class_ManageableCity.php b/application/city/interfaces/manager/city/class_ManageableCity.php index 66d9155..1230717 100644 --- a/application/city/interfaces/manager/city/class_ManageableCity.php +++ b/application/city/interfaces/manager/city/class_ManageableCity.php @@ -22,6 +22,7 @@ * along with this program. If not, see . */ interface ManageableCity extends Manageable { + /** * Checks whether the current user has already founded a city * @@ -43,6 +44,14 @@ interface ManageableCity extends Manageable { * @return void */ function foundFirstCity (); + + /** + * Renders the city map and forwards the output to the helper instance. + * + * @param $helperInstance An instance of a HelpableTemplate class + * @return void + */ + function renderCityMap (HelpableTemplate $helperInstance); } // [EOF] diff --git a/docs/mindmaps/Simple City Growth Simulation.mm b/docs/mindmaps/Simple City Growth Simulation.mm index 3f243bd..a66398b 100644 --- a/docs/mindmaps/Simple City Growth Simulation.mm +++ b/docs/mindmaps/Simple City Growth Simulation.mm @@ -50,7 +50,7 @@ - + @@ -437,9 +437,9 @@ - + - + @@ -507,8 +507,8 @@ - + @@ -2077,9 +2077,9 @@ - + - + @@ -2139,8 +2139,8 @@ - + @@ -2202,5 +2202,219 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +