mirror of
https://github.com/php/doc-ja.git
synced 2026-03-26 16:12:17 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@322304 c90b9560-bf6c-de11-be94-00142212c4b1
137 lines
3.3 KiB
XML
137 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 196abbabb4f94cc5e9de0ace42e121e5fdb4de7f Maintainer: takagi Status: ready -->
|
|
<refentry xml:id="httpresponse.send" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>HttpResponse::send</refname>
|
|
<refpurpose>レスポンスを送信する</refpurpose>
|
|
</refnamediv>
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<modifier>static</modifier>
|
|
<type>bool</type><methodname>HttpResponse::send</methodname>
|
|
<methodparam choice="opt"><type>bool</type><parameter>clean_ob</parameter><initializer>true</initializer></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
エンティティを送信します。
|
|
</para>
|
|
<para>
|
|
キャッシュ処理に成功すると PHP の処理を終了します。そして、
|
|
&link.http.configuration; <link linkend="http.configuration.log.cache">http.log.cache</link>
|
|
が設定されている場合にはログにエントリを書き出します。
|
|
&see.http.configuration.force_exit;
|
|
</para>
|
|
</refsect1>
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>clean_ob</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
事前に開始されている出力ハンドラとそのバッファを
|
|
すべて破壊するかどうか。
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
&return.success;
|
|
</para>
|
|
</refsect1>
|
|
|
|
<!--
|
|
<refsect1 role="errors">
|
|
&reftitle.errors;
|
|
<para>
|
|
<classname>HttpHeaderException</classname>、<classname>HttpResponseException</classname>
|
|
をスローします。
|
|
</para>
|
|
</refsect1>
|
|
-->
|
|
|
|
<!-- Use when a CHANGELOG exists
|
|
<refsect1 role="changelog">
|
|
&reftitle.changelog;
|
|
<para>
|
|
<informaltable>
|
|
<tgroup cols="2">
|
|
<thead>
|
|
<row>
|
|
<entry>&Version;</entry>
|
|
<entry>&Description;</entry>
|
|
</row>
|
|
</thead>
|
|
<tbody>
|
|
<row>
|
|
<entry>Enter the PHP version of change here</entry>
|
|
<entry>Description of change</entry>
|
|
</row>
|
|
</tbody>
|
|
</tgroup>
|
|
</informaltable>
|
|
</para>
|
|
</refsect1>
|
|
-->
|
|
|
|
|
|
<refsect1 role="examples">
|
|
&reftitle.examples;
|
|
<para>
|
|
<example>
|
|
<title><function>HttpResponse::send</function> の例</title>
|
|
<programlisting role="php">
|
|
<![CDATA[
|
|
<?php
|
|
HttpResponse::setCache(true);
|
|
HttpResponse::setContentType('application/pdf');
|
|
HttpResponse::setContentDisposition("$user.pdf", false);
|
|
HttpResponse::setFile('sheet.pdf');
|
|
HttpResponse::send();
|
|
?>
|
|
]]>
|
|
</programlisting>
|
|
</example>
|
|
</para>
|
|
</refsect1>
|
|
|
|
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><methodname>HttpResponse::capture</methodname></member>
|
|
</simplelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|