mirror of
https://github.com/php/doc-ja.git
synced 2026-03-30 19:12:28 +02:00
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@185798 c90b9560-bf6c-de11-be94-00142212c4b1
81 lines
2.3 KiB
XML
81 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision: 1.6 $ -->
|
|
<!-- EN-Revision: 1.4 Maintainer: hirokawa Status: ready -->
|
|
<refentry id="function.apache-note">
|
|
<refnamediv>
|
|
<refname>apache_note</refname>
|
|
<refpurpose>Apacheリクエスト記号(note)を取得/設定する</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>string</type><methodname>apache_note</methodname>
|
|
<methodparam><type>string</type><parameter>note_name</parameter></methodparam>
|
|
<methodparam choice="opt"><type>string</type><parameter>note_value</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>apache_note</function>はApache専用の関数であり、
|
|
リクエストの<literal>notes</literal>テーブルから値を得たり、
|
|
値を設定します。
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>note_name</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
記号の名前
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>note_value</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
記号の値
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
引数が1つだけ指定されてコールされた場合、
|
|
現在の記号の値<literal>note_name</literal>が返されます。
|
|
引数が2つ指定されてコールされた場合、記号<literal>note_name</literal>
|
|
の値を<literal>note_value</literal>にセットし、前の記号
|
|
<literal>note_name</literal>の値を返します。
|
|
もし記号が処理できない場合、&false; が返されます。
|
|
</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:"../../../../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
|
|
-->
|