[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/laminas/laminas-diactoros/src/ -> UploadedFile.php (summary)

(no description)

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

Defines 1 class

UploadedFile:: (8 methods):
  __construct()
  getStream()
  moveTo()
  getSize()
  getError()
  getClientFilename()
  getClientMediaType()
  writeFile()


Class: UploadedFile  - X-Ref


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

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

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}


writeFile(string $path)   X-Ref
Write internal stream to given path

param: string $path



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer