|
Yaf_Response_Abstract::setBodySet content to response Description
public bool Yaf_Response_Abstract::setBody
( string
$content
[, string $key
] )Set content to response Parameters
Return Values
ExamplesExample #1 Yaf_Response_Abstract::setBodyexample
<?php The above example will output something similar to: Yaf_Response_Http Object ( [_header:protected] => Array ( ) [_body:protected] => Array ( [content] => Hello [footer] => World ) [_sendheader:protected] => 1 [_response_code:protected] => 200 ) Hello World See Also
|