[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch

title

Body

[close]

/vendor/guzzlehttp/psr7/src/ -> UploadedFile.php (summary)

(no description)

File Size: 325 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

UploadedFile:: (17 methods):
  __construct()
  setStreamOrFile()
  setError()
  setSize()
  isStringOrNull()
  isStringNotEmpty()
  setClientFilename()
  setClientMediaType()
  isOk()
  isMoved()
  validateActive()
  getStream()
  moveTo()
  getSize()
  getError()
  getClientFilename()
  getClientMediaType()


Class: UploadedFile  - X-Ref

__construct($streamOrFile,$size,$errorStatus,$clientFilename = null,$clientMediaType = null)   X-Ref

param: StreamInterface|string|resource $streamOrFile
param: int $size
param: int $errorStatus
param: string|null $clientFilename
param: string|null $clientMediaType

setStreamOrFile($streamOrFile)   X-Ref
Depending on the value set file or stream variable

param: mixed $streamOrFile

setError($error)   X-Ref

param: int $error

setSize($size)   X-Ref

param: int $size

isStringOrNull($param)   X-Ref

return: boolean
param: mixed $param

isStringNotEmpty($param)   X-Ref

return: boolean
param: mixed $param

setClientFilename($clientFilename)   X-Ref

param: string|null $clientFilename

setClientMediaType($clientMediaType)   X-Ref

param: string|null $clientMediaType

isOk()   X-Ref
Return true if there is no upload error

return: boolean

isMoved()   X-Ref

return: boolean

validateActive()   X-Ref


getStream()   X-Ref
{@inheritdoc}


moveTo($targetPath)   X-Ref
{@inheritdoc}

param: string $targetPath Path to which to move the uploaded file.

getSize()   X-Ref
{@inheritdoc}

return: int|null The file size in bytes or null if unknown.

getError()   X-Ref
{@inheritdoc}

return: int One of PHP's UPLOAD_ERR_XXX constants.

getClientFilename()   X-Ref
{@inheritdoc}

return: string|null The filename sent by the client or null if none

getClientMediaType()   X-Ref
{@inheritdoc}




Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1