[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

(no description)

File Size: 328 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

param: mixed $param
return: bool

isStringNotEmpty($param)   X-Ref

param: mixed $param
return: bool

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: bool

isMoved()   X-Ref

return: bool

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: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1