Http\Request::getServer

public getServer (mixed $name) Gets variable from $_SERVER superglobal

Http\Request::getServerName

public getServerName () Gets active server name

Http\Request::getUserAgent

public getUserAgent () Gets HTTP user agent used to made the request

Http\Request::getUploadedFiles

public getUploadedFiles ([mixed $onlySuccessful]) Gets attached files as Phalcon\Http\Request\File instances

Http\Request::getURI

final public getURI () Gets HTTP URI which request has been made

Http\Request::getServerAddress

public getServerAddress () Gets active server address IP

Http\Request::has

public has (mixed $name) Checks whether $_REQUEST superglobal has certain index

Http\Request::getMethod

final public getMethod () Gets HTTP method which request has been made If the X-HTTP-Method-Override header is set, and if the method is a POST, then it is used to determine the “real” intended HTTP method. The _method request parameter can also be used to determine the HTTP method, but only if setHttpMethodParameterOverride(true) has been called. The method is always an uppercased string.

Http\Request::getQuery

public getQuery ([mixed $name], [mixed $filters], [mixed $defaultValue], [mixed $notAllowEmpty], [mixed $noRecursive]) Gets variable from $_GET superglobal applying filters if needed If no parameters are given the $_GET superglobal is returned // Returns value from $_GET['id'] without sanitizing $id = $request->getQuery('id'); // Returns value from $_GET['id'] with sanitizing $id = $request->getQuery('id', 'int'); // Returns value from $_GET['id'] with a default value $id = $request->

Http\Request::getPut

public getPut ([mixed $name], [mixed $filters], [mixed $defaultValue], [mixed $notAllowEmpty], [mixed $noRecursive]) Gets a variable from put request //Returns value from $_PUT["user_email"] without sanitizing $userEmail = $request->getPut("user_email"); //Returns value from $_PUT["user_email"] with sanitizing $userEmail = $request->getPut("user_email", "email");