|
update : 2015.11.03
php.shukuma.com검색:
|
Yaf_Response_Abstract::setBody(Yaf >=1.0.0) Yaf_Response_Abstract::setBody — Set content to response 설명
public bool Yaf_Response_Abstract::setBody
( string
$content
[, string $key
] )Set content to response 인수
반환값
예제Example #1 Yaf_Response_Abstract::setBody()example
<?php위 예제의 출력 예시:
Yaf_Response_Http Object
(
[_header:protected] => Array
(
)
[_body:protected] => Array
(
[content] => Hello
[footer] => World
)
[_sendheader:protected] => 1
[_response_code:protected] => 200
)
Hello World
참고
|