myMVC_HttpRequestManager for the request
Located in /myMVC/HttpRequest.php (line 26)
static mixed
$TYPE_ACTION
= 'cmd' (line 40)
Action type (called from link)
static mixed
$TYPE_AJAX
= 'ajax' (line 44)
Action type (called from AJAX)
static mixed
$TYPE_MENU
= 'menu' (line 48)
Action type (called from menu)
static mixed
$TYPE_UNKNOWN
= 'unknown' (line 36)
Unknown type. It will not be used. Just for initialize...
static mixed
$TYPE_VIEW
= 'view' (line 52)
View type
getAction (line 175)
Returns the current action or false if no action was called
getAllParameters (line 229)
Returns an associative array with all given parameters and their value (format: 'parameter' => 'value')
getInvalidParameters (line 253)
Returns an associative array with all parameters, that passed the validation,
and their value (format: 'parameter' => 'value')
getParameter (line 383)
Returns the value of the given parameter
getParameterLike (line 402)
Returns the value of a parameter starting with $key
getQueryString (line 111)
Returns HTTP query string
getQueryType (line 135)
Returns the query type (Action or View)
getQueryTypes (line 149)
Returns all valid query types
getReferrer (line 122)
Returns the referrer of the current page
getRequestMethod (line 101)
Returns the request method (GET/POST)
getSubmitParameter (line 298)
Returns the unvalidated value for the given parameter.
Useful if a form has more submit buttons and you want to check which button was used
getSubmitParameterLike (line 314)
Returns the unvalidated value for the parameter starting with $key.
Useful if a form has more submit buttons and you want to check which button was used
getSubmitParameterNameLike (line 330)
Returns the name of the parameter starting with $key.
Useful if a form has more submit buttons and you want to check which button was used
getSubmitUpload (line 436)
Returns the unvalidated value for the given upload.
Useful if a form has more submit buttons and you want to check which button was used
getUpload (line 471)
Return the upload file, if given
getView (line 203)
Returns the current view or false if no action was called
hasParameter (line 344)
Returns whether the given parameter exists
hasParameterLike (line 363)
Returns whether the a parameter starting with $key exists
hasSubmitParameter (line 268)
Returns whether the given unvalidated parameter exists
hasSubmitParameterLike (line 282)
Returns whether the an unvalidated parameter starting with $key exists
hasUpload (line 451)
Returns whether the given upload exists and a file was uploaded
isAJAX (line 191)
Returns if the current action was called as AJAX
isEmptyRequest (line 162)
Returns whether the current query is empty (then it must be forwarded to a default)
setParameter (line 422)
Set a value for a parameter (useful to call other pages)
setParameterValid (line 215)
Set the given parameter as valid (passed the validation)
Documentation generated on Wed, 09 Mar 2016 21:27:02 +0100 by phpDocumentor 1.4.4