PHP Conference Japan 2024

Yaf_Response_Abstract 類別

(Yaf >=1.0.0)

簡介

類別概要

類別 Yaf_Response_Abstract {
/* 常數 */
const 字串 DEFAULT_BODY = "content";
/* 屬性 */
protected $_header;
protected $_body;
protected $_sendheader;
/* 方法 */
public __construct()
公開 appendBody(字串 $content, 字串 $key = ?): 布林值
公開 clearBody(字串 $key = ?): 布林值
公開 clearHeaders():
公開 getBody(字串 $key = ?): 混合
公開 getHeader():
公開 prependBody(字串 $content, 字串 $key = ?): 布林值
公開 response():
保護 setAllHeaders():
公開 setBody(字串 $content, 字串 $key = ?): 布林值
公開 setHeader(字串 $name, 字串 $value, 布林值 $replace = ?): 布林值
私有 __toString(): 字串
公開 __destruct()
}

屬性

_header

_body

_sendheader

目錄

新增註釋

使用者貢獻的註釋

此頁面沒有使用者貢獻的註釋。
To Top