1
0
mirror of https://github.com/php/doc-ja.git synced 2026-04-29 19:13:26 +02:00
Files
archived-doc-ja/reference/spl/arrayiterator/key.xml
T
TAKAGI Masahiro dd22b0fb03 sync with en.
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@248943 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-24 20:27:42 +00:00

59 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready -->
<!-- CREDITS: shimooka -->
<refentry xml:id="arrayiterator.key" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ArrayIterator::key</refname>
<refpurpose>現在の配列キーを返す</refpurpose>
</refnamediv>
<refsect1 role="descriptions">
<title>説明</title>
<methodsynopsis>
<type>mixed</type><methodname>ArrayIterator::key</methodname>
<void/>
</methodsynopsis>
<para>
この関数は、現在の配列キーを返します
</para>
<para>
<example>
<title><function>ArrayIterator::key</function> の例</title>
<programlisting role="php">
<![CDATA[
<?php
$array = array('key' => 'value');
$arrayobject = new ArrayObject($array);
$iterator = $arrayobject->getIterator();
echo $iterator->key(); //key
?>
]]>
</programlisting>
</example>
</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
-->