Request
class Request
Http Request Handler
Methods
static Ambiguous
get(string $method = "post", string $root = "jtlrpc")
Http Request Getter
static string
getMethod()
Returns Http Request method
static boolean
exists(string $method = "post", string $root = "jtlrpc")
Http Request Check
static boolean
isFileupload(string $name = "jtlrpc")
Tells whether the file was uploaded via HTTP POST
static boolean
moveFileupload(string $path, string $filename, string $name = "jtlrpc")
Moves an uploaded file to a new location
static string
stripData(string $data)
Checks getmagicquotes_gpc
static string|NULL
handleFileupload(string $name = "file")
File Upload Handler
static
deleteFileupload(string $filename)
Delete File
static bool
deleteFileuploads(array $filesnames = array(), bool|true $withFolder = true)
No description
static string|null
handle(boolean $useSuper = true)
Main HTTP Handler
static string|NULL
getSession()
Session HTTP Getter
Details
at line 31
static Ambiguous
get(string $method = "post", string $root = "jtlrpc")
Http Request Getter
at line 54
static string
getMethod()
Returns Http Request method
at line 66
static boolean
exists(string $method = "post", string $root = "jtlrpc")
Http Request Check
at line 88
static boolean
isFileupload(string $name = "jtlrpc")
Tells whether the file was uploaded via HTTP POST
at line 101
static boolean
moveFileupload(string $path, string $filename, string $name = "jtlrpc")
Moves an uploaded file to a new location
at line 112
static string
stripData(string $data)
Checks getmagicquotes_gpc
at line 128
static string|NULL
handleFileupload(string $name = "file")
File Upload Handler
at line 156
static
deleteFileupload(string $filename)
Delete File
at line 170
static bool
deleteFileuploads(array $filesnames = array(), bool|true $withFolder = true)
at line 201
static string|null
handle(boolean $useSuper = true)
Main HTTP Handler
at line 252
static string|NULL
getSession()
Session HTTP Getter