PHP » GoLang |
login |
register |
about
|
GoLang Yaf_Response_Abstract::setBody
request it (412)
GoLang replacement for PHP's Yaf_Response_Abstract::setBody
[edit | history]
PHP Yaf_Response_Abstract::setBodyPHP original manual for Yaf_Response_Abstract::setBody [ show | php.net ]Yaf_Response_Abstract::setBody(Yaf >=1.0.0) Yaf_Response_Abstract::setBody — Set 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::setBody()example
<?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
|
more
Recently updated
more
Most requested
more
Last requests
|