(Yaf >=1.0.0)
Yaf_Response_Abstract::response — Send the response
Send the response: the headers and all body blocks, in order.
This function has no parameters.
Returns true on success, or null on failure.
true
null
Example #1 Yaf_Response_Abstract::response() example
<?php $response = new Yaf_Response_Http(); $response->setBody("Hello")->setBody(" World", "footer"); $response->response(); ?>
The above example will output something similar to:
Hello World