Class PresenterRequest (namespace Nette\Application)
Application presenter request. Immutable object.
Object | --PresenterRequest
Public Method Summary | |
---|---|
PresenterRequest |
__construct
(string $name, string $method, $params, [$post =
array() ], [$files = array() ], [$flags = array() ])
|
array |
getFiles
()
Returns all uploaded files.
|
array |
getParams
()
Returns all variables provided to the presenter (usually via URL).
|
array |
getPost
()
Returns all variables provided to the presenter via POST.
|
string |
Retrieve the presenter name.
|
bool |
hasFlag
(string $flag)
Checks the flag.
|
bool |
isMethod
(string $method)
Checks if the method is the given one.
|
bool |
isPost
()
Checks if the method is POST.
|
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Constant Summary | |||
---|---|---|---|
string | FORWARD |
'FORWARD' |
line 37 method |
Method Details | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 66 __constructpublic PresenterRequest __construct (string $name, string $method, $params, [$post =
|
|||||||||||||||||||||||||||
line 115 getFilespublic array getFiles () Returns all uploaded files.
|
|||||||||||||||||||||||||||
line 93 getParamspublic array getParams () Returns all variables provided to the presenter (usually via URL).
|
|||||||||||||||||||||||||||
line 104 getPostpublic array getPost () Returns all variables provided to the presenter via POST.
|
|||||||||||||||||||||||||||
line 82 getPresenterNamepublic string getPresenterName () Retrieve the presenter name.
|
|||||||||||||||||||||||||||
line 150 hasFlagpublic bool hasFlag (string $flag) Checks the flag.
|
|||||||||||||||||||||||||||
line 127 isMethodpublic bool isMethod (string $method) Checks if the method is the given one.
|
|||||||||||||||||||||||||||
line 138 isPostpublic bool isPost () Checks if the method is POST.
|