Create the URL for a given Action or View, using the given parameters
string
createURL
(string $type, string $token, [array $args = NULL])
-
string
$type: Type of the next page (Action or View)
-
string
$token: Token of the next page (for the actions returned from getActionToken, for the views, from getViewToken)
-
array
$args: The optional arguments
Constructor
myMVC_HttpResponse
__construct
()
Create the URL for the next page, using the given class (Action or View) and the given parameters
string
getNextURL
()
Set next Action or View
void
setNext
(Class $class, [boolean $menu = false])
-
Class
$class: The class of the next action or view
-
boolean
$menu: true if the action should be called as "menu". Only used if $class is an Action. Default: false
Set the next Action as the given
default Action
void
setNextDefaultAction
()
Save a variable to be passed as parameter for the next page (Action or View)
void
setParameterForNextPage
(string $key, string $value)
-
string
$key: The name of the parameter
-
string
$value: The value