Class myMVC_HttpResponse

Description

Manager for the responses (next page)

Located in /myMVC/HttpResponse.php (line 26)


	
			
Method Summary
 static string createURL (string $type, string $token, [array $args = NULL])
 myMVC_HttpResponse __construct ()
 string getNextURL ()
 void setNext (Class $class)
 void setParameterForNextPage (string $key, string $value)
Methods
static createURL (line 121)

Create the URL for a given Action or View, using the given parameters

  • return: The next URL
  • access: public
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 __construct (line 36)

Constructor

  • access: public
myMVC_HttpResponse __construct ()
getNextURL (line 98)

Create the URL for the next page, using the given class (Action or View) and the given parameters

  • return: The next URL
  • access: public
string getNextURL ()
setNext (line 63)

Set next Action or View

  • throws: myMVC_MVCException On Problems
  • access: public
void setNext (Class $class)
  • Class $class: The class of the next action or view
setNextDefaultAction (line 48)

Set the next Action as the given

default Action

  • access: public
void setNextDefaultAction ()
setParameterForNextPage (line 144)

Save a variable to be passed as parameter for the next page (Action or View)

  • access: public
void setParameterForNextPage (string $key, string $value)
  • string $key: The name of the parameter
  • string $value: The value

Documentation generated on Wed, 27 Jun 2012 09:45:14 +0200 by phpDocumentor 1.4.4