From: Roland Häder Date: Sat, 21 Jun 2008 14:44:52 +0000 (+0000) Subject: ToDo tags now all lower-case X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1e2209b0314919177e08f7ec626e9eb2e1f90d70;p=shipsimu.git ToDo tags now all lower-case --- diff --git a/application/ship-simu/main/actions/class_ShipSimuLoginAction.php b/application/ship-simu/main/actions/class_ShipSimuLoginAction.php index 1611415..2e06ecc 100644 --- a/application/ship-simu/main/actions/class_ShipSimuLoginAction.php +++ b/application/ship-simu/main/actions/class_ShipSimuLoginAction.php @@ -59,7 +59,7 @@ class ShipSimuLoginAction extends BaseAction implements PerformableAction { * @return void */ public function execute (Requestable $requestInstance, Responseable $responseInstance) { - /* @TODO Maybe we need to do something later here */ + /* @todo Maybe we need to do something later here */ } } diff --git a/application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php b/application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php index 0ed651a..e244d1e 100644 --- a/application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php +++ b/application/ship-simu/main/commands/web/class_WebShipsimuGuestLoginCommand.php @@ -117,7 +117,7 @@ class WebShipsimuGuestLoginCommand extends BaseCommand implements Commandable { break; } - /* @TODO Add more filters */ + /* @todo Add more filters */ $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('password_verifier_class')); } } diff --git a/application/ship-simu/main/commands/web/class_WebShipsimuProfileCommand.php b/application/ship-simu/main/commands/web/class_WebShipsimuProfileCommand.php index 320c1d5..72ad467 100644 --- a/application/ship-simu/main/commands/web/class_WebShipsimuProfileCommand.php +++ b/application/ship-simu/main/commands/web/class_WebShipsimuProfileCommand.php @@ -127,7 +127,7 @@ class WebShipsimuProfileCommand extends BaseCommand implements Commandable { // Add user auth filter (we don't need an update of the user here because it will be redirected) $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_auth_class')); - /* @TODO Add some more pre/post filters to the controller */ + /* @todo Add some more pre/post filters to the controller */ $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_class')); $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('rules_accepted_class')); $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('account_password_class')); diff --git a/application/ship-simu/main/commands/web/class_WebShipsimuRegisterCommand.php b/application/ship-simu/main/commands/web/class_WebShipsimuRegisterCommand.php index b8c7b61..d671f8b 100644 --- a/application/ship-simu/main/commands/web/class_WebShipsimuRegisterCommand.php +++ b/application/ship-simu/main/commands/web/class_WebShipsimuRegisterCommand.php @@ -99,7 +99,7 @@ class WebShipsimuRegisterCommand extends BaseCommand implements Commandable { * @return void */ public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) { - /* @TODO Add some more pre/post filters to the controller */ + /* @todo Add some more pre/post filters to the controller */ $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('email_validator_class')); $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('username_validator_class')); $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('username_is_guest_class')); diff --git a/application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php b/application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php index a9d252e..855f62c 100644 --- a/application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php +++ b/application/ship-simu/main/commands/web/class_WebShipsimuUserLoginCommand.php @@ -117,7 +117,7 @@ class WebShipsimuUserLoginCommand extends BaseCommand implements Commandable { break; } - /* @TODO Add more filters */ + /* @todo Add more filters */ $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('password_verifier_class')); } } diff --git a/application/ship-simu/main/login/class_ShipSimuUserLogin.php b/application/ship-simu/main/login/class_ShipSimuUserLogin.php index 5037bd8..64aeaff 100644 --- a/application/ship-simu/main/login/class_ShipSimuUserLogin.php +++ b/application/ship-simu/main/login/class_ShipSimuUserLogin.php @@ -118,9 +118,9 @@ class ShipSimuUserLogin extends BaseFrameworkSystem implements LoginableUser { throw new UserPasswordMismatchException(array($this, $userInstance), User::EXCEPTION_USER_PASS_MISMATCH); } // END - if - /* @TODO We need to add something here which will make more than one */ - /* @TODO guest logins, users who are online but based on the same */ - /* @TODO user account. */ + /* @todo We need to add something here which will make more than one */ + /* @todo guest logins, users who are online but based on the same */ + /* @todo user account. */ // Now do the real login. This can be cookie- or session-based login // which depends on the admins setting then on the user's taste. diff --git a/inc/classes/main/commands/web/class_WebLoginAreaCommand.php b/inc/classes/main/commands/web/class_WebLoginAreaCommand.php index ea647db..c6bb772 100644 --- a/inc/classes/main/commands/web/class_WebLoginAreaCommand.php +++ b/inc/classes/main/commands/web/class_WebLoginAreaCommand.php @@ -72,7 +72,7 @@ class WebLoginAreaCommand extends BaseCommand implements Commandable { * @return void */ protected function prepareCommand () { - /* @TODO Add some stuff here: Some personal data, app/game related data */ + /* @todo Add some stuff here: Some personal data, app/game related data */ } /** diff --git a/inc/classes/main/controller/default/class_WebLoginController.php b/inc/classes/main/controller/default/class_WebLoginController.php index 0ec8c3b..09a0115 100644 --- a/inc/classes/main/controller/default/class_WebLoginController.php +++ b/inc/classes/main/controller/default/class_WebLoginController.php @@ -52,7 +52,7 @@ class WebLoginController extends BaseController implements Controller { // Set the command resolver $controllerInstance->setResolverInstance($resolverInstance); - /* @TODO Add some filters to this controller */ + /* @todo Add some filters to this controller */ // Return the prepared instance return $controllerInstance; diff --git a/inc/classes/main/controller/login/class_WebLoginAreaController.php b/inc/classes/main/controller/login/class_WebLoginAreaController.php index e14a0ee..e573641 100644 --- a/inc/classes/main/controller/login/class_WebLoginAreaController.php +++ b/inc/classes/main/controller/login/class_WebLoginAreaController.php @@ -63,7 +63,7 @@ class WebLoginAreaController extends BaseController implements Controller { // News proccess/display-preparation $controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('news_process_class')); - /* @TODO: Add some filters to this controller */ + /* @todo: Add some filters to this controller */ // Return the prepared instance return $controllerInstance; diff --git a/inc/classes/main/database/databases/class_LocalFileDatabase.php b/inc/classes/main/database/databases/class_LocalFileDatabase.php index f9e67a9..d7a579a 100644 --- a/inc/classes/main/database/databases/class_LocalFileDatabase.php +++ b/inc/classes/main/database/databases/class_LocalFileDatabase.php @@ -355,7 +355,7 @@ class LocalFileDatabase extends BaseDatabaseFrontend implements DatabaseFrontend * @return void */ public function connectToDatabase () { - /* @TODO Do some checks on the database directory and files here */ + /* @todo Do some checks on the database directory and files here */ } /** diff --git a/inc/classes/main/filter/news/class_NewsProcessFilter.php b/inc/classes/main/filter/news/class_NewsProcessFilter.php index b6be041..1f468fe 100644 --- a/inc/classes/main/filter/news/class_NewsProcessFilter.php +++ b/inc/classes/main/filter/news/class_NewsProcessFilter.php @@ -60,7 +60,7 @@ class NewsProcessFilter extends BaseFilter implements Filterable { * @return void */ public function execute (Requestable $requestInstance, Responseable $responseInstance) { - /* @TODO Unfinished stub, add functionality here */ + /* @todo Unfinished stub, add functionality here */ } } diff --git a/inc/classes/main/filter/update/class_UserUpdateFilter.php b/inc/classes/main/filter/update/class_UserUpdateFilter.php index 0da323c..47eee38 100644 --- a/inc/classes/main/filter/update/class_UserUpdateFilter.php +++ b/inc/classes/main/filter/update/class_UserUpdateFilter.php @@ -74,7 +74,7 @@ class UserUpdateFilter extends BaseFrameworkSystem implements Filterable { $authInstance = Registry::getRegistry()->getInstance('auth'); $authInstance->updateAuthData(); - /* @TODO Add more user updates here */ + /* @todo Add more user updates here */ // Write all updates to the database $userInstance->flushUpdates(); diff --git a/inc/classes/main/helper/web/class_WebFormHelper.php b/inc/classes/main/helper/web/class_WebFormHelper.php index 6457409..79de813 100644 --- a/inc/classes/main/helper/web/class_WebFormHelper.php +++ b/inc/classes/main/helper/web/class_WebFormHelper.php @@ -174,7 +174,7 @@ class WebFormHelper extends BaseHelper { $this->addFormGroup("", ""); } // END - if - /* @TODO Add some unique PIN here to bypass problems with some browser and/or extensions */ + /* @todo Add some unique PIN here to bypass problems with some browser and/or extensions */ // Simply close it $this->formOpened = false; } @@ -661,7 +661,7 @@ class WebFormHelper extends BaseHelper { * @return $rulesUpdated Wether rules has been updated */ public function ifRulesHaveChanged () { - /* @TODO Implement check if rules have been changed */ + /* @todo Implement check if rules have been changed */ return false; } diff --git a/inc/classes/main/response/class_HttpResponse.php b/inc/classes/main/response/class_HttpResponse.php index 7e78b43..deff1a8 100644 --- a/inc/classes/main/response/class_HttpResponse.php +++ b/inc/classes/main/response/class_HttpResponse.php @@ -256,7 +256,7 @@ class HttpResponse extends BaseFrameworkSystem implements Responseable { // Shall we encrypt the cookie? if ($encrypted === true) { - /* @TODO Encryption of cookie data not yet supported */ + /* @todo Encryption of cookie data not yet supported */ } // END - if // For slow browsers set the cookie array element first @@ -271,15 +271,15 @@ class HttpResponse extends BaseFrameworkSystem implements Responseable { $domain = $this->getConfigInstance()->readConfig('cookie_domain'); setcookie($cookieName, $cookieValue, $expires); - /* @TODO Why are these parameters conflicting? */ + /* @todo Why are these parameters conflicting? */ //, $path, $domain, (isset($_SERVER['HTTPS'])) return; - /* @TODO This will send only one cookie out, the first one. */ + /* @todo This will send only one cookie out, the first one. */ // Now construct the full header $cookieString = $cookieName . "=" . $cookieValue . "; "; $cookieString .= "expires=" . date("D, d-F-Y H:i:s", $expires) . " GMT"; - /* @TODO Why are these parameters conflicting? */ + /* @todo Why are these parameters conflicting? */ // $cookieString .= "; path=".$path."; domain=".$domain; // Set the cookie as a header diff --git a/inc/classes/main/rng/class_RandomNumberGenerator.php b/inc/classes/main/rng/class_RandomNumberGenerator.php index 2439ffb..5decb85 100644 --- a/inc/classes/main/rng/class_RandomNumberGenerator.php +++ b/inc/classes/main/rng/class_RandomNumberGenerator.php @@ -113,7 +113,7 @@ class RandomNumberGenerator extends BaseFrameworkSystem { $this->fixedSalt = sha1($serverIp . ":" . serialize($this->getDatabaseInstance()->getConnectionData())); // One-way data we need for "extra-salting" the random number - /* @TODO Add site key for stronger salt! */ + /* @todo Add site key for stronger salt! */ $this->extraSalt = sha1($this->fixedSalt . ":" . getenv('SERVER_SOFTWARE') . ":" . $this->getConfigInstance()->readConfig('date_key')); // Get config entry for max salt length @@ -151,7 +151,7 @@ class RandomNumberGenerator extends BaseFrameworkSystem { * @return $num Pseudo-random number */ public function randomNumnber ($min, $max) { - /* @TODO I had a better random number generator here but now it is somewhere lost :( */ + /* @todo I had a better random number generator here but now it is somewhere lost :( */ return mt_rand($min, $max); } diff --git a/inc/classes/main/template/class_TemplateEngine.php b/inc/classes/main/template/class_TemplateEngine.php index a9b4574..f2e78db 100644 --- a/inc/classes/main/template/class_TemplateEngine.php +++ b/inc/classes/main/template/class_TemplateEngine.php @@ -788,7 +788,7 @@ class TemplateEngine extends BaseFrameworkSystem implements CompileableTemplate $this->assignVariable($var, $varMatches[3][$key]); } elseif (!empty($varMatches[2][$key])) { // Non-string found so we need some deeper analysis... - /* @TODO Unfinished work or don't die here. */ + /* @todo Unfinished work or don't die here. */ die("Deeper analysis not yet implemented!"); } @@ -992,7 +992,7 @@ class TemplateEngine extends BaseFrameworkSystem implements CompileableTemplate ); // This loop does remove the backslashes (\) in PHP parameters - /* @TODO Make this some nicer... */ + /* @todo Make this some nicer... */ while (strpos($eval, "