]> git.mxchange.org Git - city.git/blobdiff - application/city/interfaces/manager/city/class_ManageableCity.php
Added verifications, if the user has already founded a city and if the city name
[city.git] / application / city / interfaces / manager / city / class_ManageableCity.php
index 18d5f1904ede348e934b7ed7a820bf9fdd439641..454b248ce2372583cebe82b1136592284fe24caa 100644 (file)
@@ -28,6 +28,14 @@ interface ManageableCity extends FrameworkInterface {
         * @return      $isFounded      Whether the current user has already founded a city
         */
        function isCityAlreadyFounded ();
+
+       /**
+        * Checks whether the given city name is already taken
+        *
+        * @para        $cityName       Name of city
+        * @return      $isTaken        Whether the given city name is already taken
+        */
+       function ifCityNameExists ($cityName);
 }
 
 // [EOF]