1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-26 16:12:17 +01:00
Files
archived-doc-ja/reference/http/HttpQueryString/get.xml
Philip Olson e2cfeb5b97 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@260765 c90b9560-bf6c-de11-be94-00142212c4b1
2008-06-05 05:58:37 +00:00

181 lines
4.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.4 $ -->
<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready -->
<refentry xml:id="function.httpquerystring-get" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>HttpQueryString::get</refname>
<refpurpose>クエリ文字列 (の一部) を取得する</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier>
<type>mixed</type><methodname>HttpQueryString::get</methodname>
<methodparam choice="opt"><type>string</type><parameter>key</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>type = 0</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>defval = NULL</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>delete = FALSE</parameter></methodparam>
</methodsynopsis>
<para>
クエリ文字列 (の一部) を取得します。
</para>
<para>
パラメータ type には HttpQueryString::TYPE_* 定数のいずれか、
あるいは型を省略したものを指定します。例えば
&quot;b&quot; は bool、&quot;i&quot; は int、&quot;f&quot; は float、
&quot;s&quot; は string、&quot;a&quot; は array
そして &quot;o&quot; は stdClass オブジェクトです。
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>key</parameter></term>
<listitem>
<para>
取得するクエリ文字列パラメータのキー。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>type</parameter></term>
<listitem>
<para>
変数の型。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>defval</parameter></term>
<listitem>
<para>
キーが存在しない場合のデフォルトの値。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>delete</parameter></term>
<listitem>
<para>
クエリ文字列からキー・値の組み合わせを削除するかどうか。
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
クエリ文字列パラメータの値を返します。キーが指定されない場合は、
クエリ文字列全体を返します。キーが存在しない場合は defval を返します。
</para>
</refsect1>
<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</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>
-->
<!-- Use when examples exist
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>A <function>HttpQueryString::get</function> example</title>
<para>
Any text that describes the purpose of the example, or
what goes on in the example should go here (inside the
<example> tag, not out
</para>
<programlisting role="php">
<![CDATA[
<?php
if ($anexample === true) {
echo 'Use the PEAR Coding Standards';
}
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
Use the PEAR Coding Standards
]]>
</screen>
</example>
</para>
</refsect1>
-->
<!-- Use when adding See Also links
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function></function></member>
<member>Or <link linkend="somethingelse">something else</link></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:"../../../../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
-->