-
(string) getContent ()
Browse code
Gets the current response content
returns Content
-
-
(bool) initialize ($dispatcher, $options)
Browse code
| $dispatcher |
An sfEventDispatcher instance |
| $options |
An array of options |
Initializes this sfResponse.
Available options:
* logging: Whether to enable logging or not (false by default)
returns true, if initialization completes successfully, otherwise false
throws sfInitializationException If an error occurs while initializing this sfResponse
-
Sends the content.
-
Outputs the response content
-
Serializes the current instance.
returns Objects instance
-
Sets the response content
-
setEventDispatcher ($dispatcher)
Browse code
| $dispatcher |
An sfEventDispatcher instance |
Sets the event dispatcher.
-
unserialize ($serialized)
Browse code
| $serialized |
A serialized sfResponse instance |
Unserializes a sfResponse instance.
You need to inject a dispatcher after unserializing a sfResponse instance.
-
(mixed) __call ($method, $arguments)
Browse code
| $method |
The method name |
| $arguments |
The method arguments |
Calls methods defined via sfEventDispatcher.
returns The returned value of the called method
throws sfException If the calls fails
-
Class constructor.