Yaf_Response_Abstract::getBody

Yaf_Response_Abstract::getBody

(Yaf >=1.0.0)

Yaf_Response_Abstract::getBodyRetrieve a exists content

Description

public mixed Yaf_Response_Abstract::getBody ([ string $key ] )

Retrieve a exists content

Parameters

key

the content key, if you don't specific, then Yaf_Response_Abstract::DEFAULT_BODY will be used. if you pass in a NULL, then all contents will be returned as a array

登录查看完整内容