Documentation

目次

前のトピックへ

< Interface Phalcon\Http\RequestInterface

次のトピックへ

Interface Phalcon\Http\ResponseInterface >

このページ

Interface Phalcon\Http\Request\FileInterface

Phalcon\Http\Request\FileInterface initializer

Methods

abstract public __construct (array $file)

Phalcon\Http\Request\FileInterface constructor

abstract public int getSize ()

Returns the file size of the uploaded file

abstract public string getName ()

Returns the real name of the uploaded file

abstract public string getTempName ()

Returns the temporal name of the uploaded file

abstract public string getType ()

Returns the mime type reported by the browser This mime type is not completely secure, use getRealType() instead

abstract public string getRealType ()

Gets the real mime type of the upload file using finfo

abstract public boolean moveTo (string $destination)

Move the temporary file to a destination