| [ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 379 lines (10 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
ServerRequest:: (20 methods):
__construct()
normalizeFiles()
createUploadedFileFromSpec()
normalizeNestedFileSpec()
fromGlobals()
extractHostAndPortFromAuthority()
getUriFromGlobals()
getServerParams()
getUploadedFiles()
withUploadedFiles()
getCookieParams()
withCookieParams()
getQueryParams()
withQueryParams()
getParsedBody()
withParsedBody()
getAttributes()
getAttribute()
withAttribute()
withoutAttribute()
Class: ServerRequest - X-Ref
Server-side HTTP request| __construct($method,$uri,array $headers = [],$body = null,$version = '1.1',array $serverParams = []) X-Ref |
param: string $method HTTP method param: string|UriInterface $uri URI param: array $headers Request headers param: string|resource|StreamInterface|null $body Request body param: string $version Protocol version param: array $serverParams Typically the $_SERVER superglobal |
| normalizeFiles(array $files) X-Ref |
| Return an UploadedFile instance array. param: array $files A array which respect $_FILES structure return: array |
| createUploadedFileFromSpec(array $value) X-Ref |
| Create and return an UploadedFile instance from a $_FILES specification. If the specification represents an array of values, this method will delegate to normalizeNestedFileSpec() and return that return value. param: array $value $_FILES struct return: array|UploadedFileInterface |
| normalizeNestedFileSpec(array $files = []) X-Ref |
| Normalize an array of file specifications. Loops through all nested files and returns a normalized array of UploadedFileInterface instances. param: array $files return: UploadedFileInterface[] |
| fromGlobals() X-Ref |
| Return a ServerRequest populated with superglobals: $_GET $_POST $_COOKIE $_FILES $_SERVER return: ServerRequestInterface |
| extractHostAndPortFromAuthority($authority) X-Ref |
| No description |
| getUriFromGlobals() X-Ref |
| Get a Uri populated with values from $_SERVER. return: UriInterface |
| getServerParams() X-Ref |
| {@inheritdoc} |
| getUploadedFiles() X-Ref |
| {@inheritdoc} |
| withUploadedFiles(array $uploadedFiles) X-Ref |
| {@inheritdoc} |
| getCookieParams() X-Ref |
| {@inheritdoc} |
| withCookieParams(array $cookies) X-Ref |
| {@inheritdoc} |
| getQueryParams() X-Ref |
| {@inheritdoc} |
| withQueryParams(array $query) X-Ref |
| {@inheritdoc} |
| getParsedBody() X-Ref |
| {@inheritdoc} |
| withParsedBody($data) X-Ref |
| {@inheritdoc} |
| getAttributes() X-Ref |
| {@inheritdoc} |
| getAttribute($attribute, $default = null) X-Ref |
| {@inheritdoc} |
| withAttribute($attribute, $value) X-Ref |
| {@inheritdoc} |
| withoutAttribute($attribute) X-Ref |
| {@inheritdoc} |
| Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |