« Yaf_Request_Simple::isXmlHttpRequest
Yaf_Response_Abstract::appendBody »

Yaf_Response_Abstract クラス

(Yaf >=1.0.0)

はじめに

クラス概要

class Yaf_Response_Abstract {
/* 定数 */
const string DEFAULT_BODY = "content";
/* プロパティ */
protected $_header;
protected $_body;
protected $_sendheader;
/* メソッド */
public function __construct()
public function appendBody(string $content, string $key = ?): bool
public function clearBody(string $key = ?): bool
public function clearHeaders(): void
public function getBody(string $key = ?): mixed
public function getHeader(): void
public function prependBody(string $content, string $key = ?): bool
public function response(): void
protected function setAllHeaders(): void
public function setBody(string $content, string $key = ?): bool
public function setHeader(string $name, string $value, bool $replace = ?): bool
public function setRedirect(string $url): bool
private function __toString(): string
public function __destruct()
}

プロパティ

_header

_body

_sendheader

目次

関連キーワード:
Response   Abstract   レスポンス   content   protected   appendBody   construct   getHeader   prependBody   setAllHeaders   setRedirect   destruct   プロパティ   header   body   sendheader   clearBody   clearHeaders   getBody   response   setBody   setHeader   toString   本文   ヘッダ
関連する関数・ページ:
yaf-response-abstract.setheader   yaf-response-abstract.appendbody   yaf-response-abstract.clearbody   yaf-response-abstract.clearheaders   yaf-response-abstract.response   yaf-response-abstract.setbody