The Yaf_Response_Abstract class

Introduction

Class synopsis

Yaf_Response_Abstract
class Yaf_Response_Abstract {
/* Constants */
const string Yaf_Response_Abstract::DEFAULT_BODY = "content";
/* Properties */
protected $_header;
protected $_body;
protected $_sendheader;
/* Methods */
public __construct()
public bool appendBody(string $content, string $key = ?)
public bool clearBody(string $key = ?)
public void clearHeaders()
public mixed getBody(string $key = ?)
public void getHeader()
public bool prependBody(string $content, string $key = ?)
public void response()
protected void setAllHeaders()
public bool setBody(string $content, string $key = ?)
public bool setHeader(string $name, string $value, bool $replace = ?)
public bool setRedirect(string $url)
private string __toString()
public __destruct()
}

Properties

_header

_body

_sendheader

Table of Contents