<?php
// Own namespace
-namespace CoreFramework\Request;
+namespace Org\Mxchange\CoreFramework\Request;
// Import framework stuff
-use CoreFramework\Request\Requestable;
+use Org\Mxchange\CoreFramework\Request\Requestable;
+use Org\Mxchange\CoreFramework\String\Utils\StringUtils;
/**
* A concrete and secured HTML request class to make HTML requests more abstract
*
* @author Roland Haeder <webmaster@shipsimu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2019 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
* @todo Move out the cookie part to a seperate class, e.g. Cookie
*
* @return void
*/
- public function prepareRequestData () {
+ protected function prepareRequestData () {
// Copy GET then POST data
$this->setRequestData(array_merge($_GET, $_POST));
}
$headerValue = NULL;
// Construct the name
- $name = 'HTTP_' . strtoupper(self::convertDashesToUnderscores($headerName));
+ $name = 'HTTP_' . strtoupper(StringUtils::convertDashesToUnderscores($headerName));
// Does this header exist?
if (isset($_SERVER[$name])) {