} // END - if
// Is the first element "index.php" ?
- if ($args[0] == "index.php") {
+ if ($args[0] == 'index.php') {
// Then remove it
array_shift($args);
} // END - if
// Try to determine next parameters
foreach ($args as $arg) {
// Seperate arguemnt name from value
- $argArray = explode("=", $arg);
+ $argArray = explode('=', $arg);
// Is the second one set?
if (!isset($argArray[1])) {
// Add it likewise, but empty value
- $this->setRequestElement($argArray[0], "");
+ $this->setRequestElement($argArray[0], '');
} else {
// Set a name=value pair escaped and secured
$this->setRequestElement($argArray[0], escapeshellcmd($argArray[1]));
* @return $headerValue Value of the header or 'null' if not found
*/
public function getHeader ($headerName) {
- $this->partialStub("Please implement this method.");
+ $this->partialStub('Please implement this method.');
}
/**
* @return $requestMethod Used request method
*/
public final function getRequestMethod () {
- return "LOCAL";
+ return 'LOCAL';
}
/**