Initial commit

This commit is contained in:
2021-10-26 13:02:53 +02:00
commit 73843b66ce
4678 changed files with 319494 additions and 0 deletions

29
content/inc/Input/Get.php Normal file
View File

@@ -0,0 +1,29 @@
<?php
namespace dokuwiki\Input;
/**
* Internal class used for $_GET access in dokuwiki\Input\Input class
*/
class Get extends Input
{
/** @noinspection PhpMissingParentConstructorInspection
* Initialize the $access array, remove subclass members
*/
public function __construct()
{
$this->access = &$_GET;
}
/**
* Sets a parameter in $_GET and $_REQUEST
*
* @param string $name Parameter name
* @param mixed $value Value to set
*/
public function set($name, $value)
{
parent::set($name, $value);
$_REQUEST[$name] = $value;
}
}