Http\Request\File

implements Phalcon\Http\Request\FileInterface Source on GitHub Provides OO wrappers to the $_FILES superglobal use Phalcon\Mvc\Controller; class PostsController extends Controller { public function uploadAction() { // Check if the user has uploaded files if ($this->request->hasFiles() == true) { // Print the real file names and their sizes foreach ($this->request->getUploadedFiles() as $file) { echo $file->getName(), " ", $file->

Http\Request\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin

Http\RequestInterface::isTrace

abstract public isTrace () ...

Http\RequestInterface::isSoapRequested

abstract public isSoapRequested () ...

Http\RequestInterface::isPurge

abstract public isPurge () ...

Http\RequestInterface::isMethod

abstract public isMethod (mixed $methods, [mixed $strict]) ...

Http\RequestInterface::isOptions

abstract public isOptions () ...

Http\RequestInterface::isPost

abstract public isPost () ...

Http\RequestInterface::isDelete

abstract public isDelete () ...

Http\RequestInterface::isGet

abstract public isGet () ...