Method Summary
-
addCacheControlHttpHeader(, )
Adds an control cache http header.
-
addHttpMeta(, , )
Adds meta headers to the current web response.
-
addJavascript(, )
Adds javascript code to the current web response.
-
addMeta(, , , )
Adds a meta header to the current web response.
-
addStylesheet(, , )
Adds an stylesheet to the current web response.
-
addVaryHttpHeader()
Adds vary to a http header.
-
clearHttpHeaders()
Cleans HTTP headers from the current web response.
-
array
getContentType()
Gets response content type.
-
array
getCookies()
Retrieves cookies from the current web response.
-
string
getDate(, )
Retrieves a formated date.
-
string
getHttpHeader()
Gets HTTP header current value.
-
string
getHttpHeaders()
Retrieves HTTP headers from the current web response.
-
string
getHttpMetas()
Retrieves meta headers for the current web response.
-
string
getJavascripts()
Retrieves javascript code from the current web response.
-
array
getMetas()
Retrieves all meta headers for the current web response.
-
string
getStatusCode()
Retrieves status code for the current web response.
-
string
getStylesheets()
Retrieves stylesheets for the current web response.
-
string
getTitle()
Retrieves title for the current web response.
-
boolean
hasHttpHeader()
Has a HTTP header.
-
boolean
initialize()
Initializes this sfWebResponse.
-
boolean
isHeaderOnly()
Returns if the response must only consist of HTTP headers.
-
mergeProperties()
Copies a propertie to a new one.
-
string
normalizeHeaderName()
Retrieves a normalized Header.
-
sendContent()
Send content for the current web response.
-
sendHttpHeaders()
Send HTTP headers and cookies.
-
setContentType()
Sets response content type.
-
setCookie(, , , , , , )
Sets a cookie.
-
setHeaderOnly()
Sets if the response consist of just HTTP headers.
-
setHttpHeader(, , )
Sets a HTTP header.
-
setStatusCode(, )
Sets response status code.
-
setTitle(, )
Sets title for the current web response.
-
shutdown()
Executes the shutdown procedure.
-
array
__sleep()
Retrieves all objects handlers for the current web response.
-
__wakeup()
Reconstructs any result that web response instance needs.
Methods inherited from sfResponse
getContent , getContext , getParameter , getParameterHolder , hasParameter , initialize , newInstance , sendContent , setContent , setContext , setParameter , shutdown , __call
Method Details
-
addCacheControlHttpHeader (, )
Browse code
Adds an control cache http header.
-
Adds meta headers to the current web response.
-
Adds javascript code to the current web response.
-
Adds a meta header to the current web response.
-
Adds an stylesheet to the current web response.
-
Adds vary to a http header.
-
Cleans HTTP headers from the current web response.
-
(array) getContentType ()
Browse code
Gets response content type.
-
Retrieves cookies from the current web response.
returns Cookies
-
Retrieves a formated date.
returns Formated date
-
(string) getHttpHeader ()
Browse code
Gets HTTP header current value.
-
(string) getHttpHeaders ()
Browse code
Retrieves HTTP headers from the current web response.
returns HTTP headers
-
(string) getHttpMetas ()
Browse code
Retrieves meta headers for the current web response.
returns Meta headers
-
(string) getJavascripts ()
Browse code
Retrieves javascript code from the current web response.
returns Javascript code
-
Retrieves all meta headers for the current web response.
returns List of meta headers
-
(string) getStatusCode ()
Browse code
Retrieves status code for the current web response.
returns Status code
-
(string) getStylesheets ()
Browse code
Retrieves stylesheets for the current web response.
returns Stylesheets
-
Retrieves title for the current web response.
returns Title
-
(boolean) hasHttpHeader ()
Browse code
Has a HTTP header.
-
(boolean) initialize ()
Browse code
Initializes this sfWebResponse.
returns true, if initialization completes successfully, otherwise false
throws sfInitializationException If an error occurs while initializing this Response
-
(boolean) isHeaderOnly ()
Browse code
Returns if the response must only consist of HTTP headers.
returns returns true if, false otherwise
-
Copies a propertie to a new one.
-
(string) normalizeHeaderName ()
Browse code
Retrieves a normalized Header.
returns Normalized header
-
Send content for the current web response.
-
Send HTTP headers and cookies.
-
Sets response content type.
-
setCookie (, , , , , , )
Browse code
Sets a cookie.
throws sfException If fails to set the cookie
-
Sets if the response consist of just HTTP headers.
-
Sets a HTTP header.
-
Sets response status code.
-
Sets title for the current web response.
-
Executes the shutdown procedure.
-
Retrieves all objects handlers for the current web response.
returns Objects instance
-
Reconstructs any result that web response instance needs.
|