addCookie |
Adds a new cookie to the cookie header of the response. |
addFieldError |
Adds an error to the response's error collection. |
addHeader |
Adds to the response header. |
addMessage |
Adds a message to the current response's message collection. |
clearFieldError |
Removes the field error from the field error collection. |
clearFieldErrors |
Resets the field error collection, clearing all field errors. |
clearMessage |
Removes a key/message pair. |
clearMessages |
Resets the message collection, clearing all messages. |
decodeURL |
Returns the URL todecode_string argument decoded, i.e., formatted for readable display. For example, "%20" is replaced with a space, "%2C" is replaced with a comma, etc. |
encodeHTML |
Returns the toencode_string parameter escaped as HTML. Line breaks are replaced with tags, less-than signs are replaced with '<', etc. The optional encode_whitespace argument indicates that spaces and line breaks should be encoded as well; default is FALSE. |
encodeURL |
Returns the toencode_string argument, escaped for use in a URL. Spaces are replaced with "%20", commas are replaced with "%2C", etc. If the optional parameters_object argument is provided, the name/value pairs will be escaped and concatenated onto the URL string as parameters. |
getFieldError |
Returns a string containing the error text associated with the specified field on the specified table, if such a field and table are found in the collection. Returns the empty string if the requested field error is not found. |
getFieldErrorCount |
Returns the number of field errors in the response's field error collection. |
getFieldErrors |
Returns a scripting object containing one property for each field error on the specified table. |
getMessage |
Returns a string value containing the message string associated with the specified key, if such a key is found in the collection. Returns the empty string if the requested key is not found. |
getMessageCount |
Returns the number of messages in the response's message collection. |
getMessages |
Returns a scripting object containing one property for each message in the request's message collection. |
getTarget |
Returns an object containing properties for target mode and data. |
hasFieldErrors |
Checks to see if there are errors in the response's field errors collection. |
hasMessages |
Checks to see if there are messages in the message collection. |
removeCookie |
Removes a cookie from the response. |
setContentType |
Sets the value of the "content-type" header in the response. |
setRedirect |
Shortcut method for calling setTarget(Response.MODE_REDIRECT, URL). Note that to redirect from inside a view, you must use throwRedirect(). |
setReshow |
setReshow() will redisplay a user submitted form with any added field errors associated with fields displayed in that form. |
setTarget |
Sets the next page that the browser will display. |
throwRedirect |
Sets the redirect string to the specified URL_string and throws a Response.Errors.Redirect exception. |
write |
Writes to the HTML output stream. |