PresenterRequest
final class PresenterRequest extends FreezableObject
Presenter request. Immutable object.
Constants
FORWARD |
method |
SECURED |
flag |
RESTORED |
flag |
Properties
string | $presenterName | ||
array | $params | ||
array | $post | ||
array | $files |
Methods
No description
Sets the presenter name.
Retrieve the presenter name.
Sets variables provided to the presenter.
Returns all variables provided to the presenter (usually via URL).
Sets variables provided to the presenter via POST.
Returns all variables provided to the presenter via POST.
Sets all uploaded files.
Returns all uploaded files.
Sets the method.
Returns the method.
Checks if the method is the given one.
Checks if the method is POST.
Sets the flag.
Checks the flag.
Details
at line 76
__construct($name, $method, array $params, array $post = array(), array $files = array(), array $flags = array())
No description
at line 93
PresenterRequest
setPresenterName($name)
Sets the presenter name.
at line 106
string
getPresenterName()
Retrieve the presenter name.
at line 118
PresenterRequest
setParams(array $params)
Sets variables provided to the presenter.
at line 131
array
getParams()
Returns all variables provided to the presenter (usually via URL).
at line 143
PresenterRequest
setPost(array $params)
Sets variables provided to the presenter via POST.
at line 156
array
getPost()
Returns all variables provided to the presenter via POST.
at line 168
PresenterRequest
setFiles(array $files)
Sets all uploaded files.
at line 181
array
getFiles()
Returns all uploaded files.
at line 193
PresenterRequest
setMethod($method)
Sets the method.
at line 205
string
getMethod()
Returns the method.
at line 217
bool
isMethod($method)
Checks if the method is the given one.
at line 228
bool
isPost()
Checks if the method is POST.
at line 241
PresenterRequest
setFlag($flag, $value = TRUE)
Sets the flag.
at line 255
bool
hasFlag($flag)
Checks the flag.