54 parent::__construct(
$data, $wasPosted );
57 public function getCookie( $key, $prefix =
null, $default =
null ) {
58 return $this->base->getCookie( $key, $prefix, $default );
62 return $this->base->getHeader( $name, $flags );
66 return $this->base->getAllHeaders();
70 return $this->base->getSession();
74 return $this->base->getSessionData( $key );
78 $this->base->setSessionData( $key,
$data );
82 return $this->base->getAcceptLang();
86 return $this->ip ?: $this->base->getIP();
94 return $this->base->getProtocol();
99 return $this->base->getUpload( $key );
103 return $this->base->getElapsedTime();
107class_alias( DerivativeRequest::class,
'DerivativeRequest' );
The WebRequest class encapsulates getting at data passed in the URL or via a POSTed form stripping il...
array $data
The parameters from $_GET, $_POST and the path router.