*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
private $requestData = array();
/**
- * Wether this request is valid and can be further processed. The default is
+ * 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
* when they need to intercept the data flow.
*/
- private $requestIsValid = true;
+ private $requestIsValid = TRUE;
/**
* Protected constructor
}
/**
- * Checks wether a request element is set
+ * Checks whether a request element is set
* @param $element Name of the request element we want to check
- * @return $isSet Wether the request element is set
+ * @return $isSet Whether the request element is set
*/
public function isRequestElementSet ($element) {
// Is this element found?
*/
public function getRequestElement ($element) {
// Initialize value
- $value = null;
+ $value = NULL;
// Is the element set?
if ($this->isRequestElementSet($element)) {
}
/**
- * Sets wether the request was valid (default: true)
+ * Sets whether the request was valid (default: true)
*
- * @param $isValid Wether the request is valid
+ * @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;
}
/**
- * Returns wether this request is valid
+ * Returns whether this request is valid
*
- * @return $requestIsValid Wether this request is valid
+ * @return $requestIsValid Whether this request is valid
*/
public final function isRequestValid () {
return $this->requestIsValid;