X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fclasses%2Fmain%2Frequest%2Fclass_BaseRequest.php;h=efd3c881e7767a7485b8ed55605432fe28d867b7;hb=1ee35e6d96c456b8e3499bd683f1647aa28bd501;hp=2cc0ac401cbb3126cf8ac6b69020bded1deb88d4;hpb=607a11e2c22949ea0647568c17d62a605595e83b;p=core.git diff --git a/inc/classes/main/request/class_BaseRequest.php b/inc/classes/main/request/class_BaseRequest.php index 2cc0ac40..efd3c881 100644 --- a/inc/classes/main/request/class_BaseRequest.php +++ b/inc/classes/main/request/class_BaseRequest.php @@ -2,11 +2,11 @@ /** * A general request class * - * @author Roland Haeder + * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Core Developer Team * @license GNU GPL 3.0 or any newer version - * @link http://www.ship-simu.org + * @link http://www.shipsimu.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,10 +29,10 @@ class BaseRequest extends BaseFrameworkSystem { /** * Whether this request is valid and can be further processed. The default is - * valid so make sure your intercepting filters sets this attribute to false + * valid so make sure your intercepting filters sets this attribute to FALSE * when they need to intercept the data flow. */ - private $requestIsValid = true; + private $requestIsValid = TRUE; /** * Protected constructor @@ -113,12 +113,12 @@ class BaseRequest extends BaseFrameworkSystem { } /** - * Sets whether the request was valid (default: true) + * Sets whether the request was valid (default: TRUE) * * @param $isValid Whether the request is valid * @return void */ - public final function requestIsValid ($isValid = true) { + public final function requestIsValid ($isValid = TRUE) { $this->requestIsValid = (bool) $isValid; }