The Yaf_Response_Abstract class
(Yaf >=1.0.0)
簡介
類摘要
class Yaf_Response_Abstract
{
/* Constants */
const
string
DEFAULT_BODY = "content";
/* 屬性 */
protected
$_header;
protected
$_body;
protected
$_sendheader;
/* 方法 */
public __construct()
}屬性
- _header
- _body
- _sendheader
目錄
- Yaf_Response_Abstract::appendBody — 往已有的響應body后附加新的內容
- Yaf_Response_Abstract::clearBody — 清除已經設定的響應body
- Yaf_Response_Abstract::clearHeaders — The clearHeaders purpose
- Yaf_Response_Abstract::__construct — The __construct purpose
- Yaf_Response_Abstract::__destruct — The __destruct purpose
- Yaf_Response_Abstract::getBody — 獲取已經設定的響應body
- Yaf_Response_Abstract::getHeader — The getHeader purpose
- Yaf_Response_Abstract::prependBody — The prependBody purpose
- Yaf_Response_Abstract::response — send response
- Yaf_Response_Abstract::setAllHeaders — The setAllHeaders purpose
- Yaf_Response_Abstract::setBody — 設定響應的Body
- Yaf_Response_Abstract::setHeader — The setHeader purpose
- Yaf_Response_Abstract::setRedirect — The setRedirect purpose
- Yaf_Response_Abstract::__toString — The __toString purpose