? Yaf_Request_Simple::isXmlHttpRequest
Yaf_Response_Abstract::appendBody ?
����ѧԺ www.cainiaoplay.com
PHP Manual
Yaf
The Yaf_Response_Abstract class
The Yaf_Response_Abstract class
(Yaf >=1.0.0)
���
��ժҪ
Yaf_Response_Abstract
{
/* Constants */
const
string
DEFAULT_BODY
= "content"
;
/* ���� */
protected
$
_header
;
protected
$
_body
;
protected
$
_sendheader
;
/* ���� */
public
appendBody
(
string
$content
[,
string
$key
] ) :
bool
public
clearBody
([
string
$key
] ) :
bool
public
clearHeaders
(
void
) :
void
private
__clone
(
void
) :
void
public
__construct
(
void
)
public
__destruct
(
void
) :
void
public
getBody
([
string
$key
] ) :
mixed
public
getHeader
(
void
) :
void
public
prependBody
(
string
$content
[,
string
$key
] ) :
bool
public
response
(
void
) :
void
protected
setAllHeaders
(
void
) :
void
public
setBody
(
string
$content
[,
string
$key
] ) :
bool
public
setHeader
(
void
) :
void
public
setRedirect
(
void
) :
void
private
__toString
(
void
) :
void
}
����
_header
_body
_sendheader
Table of Contents
Yaf_Response_Abstract::appendBody
— �����е���Ӧbody���µ�����
Yaf_Response_Abstract::clearBody
— ����Ѿ����õ���Ӧbody
Yaf_Response_Abstract::clearHeaders
— The clearHeaders purpose
Yaf_Response_Abstract::__clone
— The __clone 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