(Yaf >=1.0.0)
Yaf_Response_Abstract::response — send response
send response
此函數(shù)沒有參數(shù)。
示例 #1 Yaf_Response_Abstract::response()example
<?php
$response = new Yaf_Response_Http();
$response->setBody("Hello")->setBody(" World", "footer");
$response->response();
?>
以上例程的輸出類似于:
Hello World