cvs: phpdoc-ja /reference/mongo/functions mongo-close.xml mongo-connect.xml mongo-find-one.xml mongo-gridfile-write.xml mongo-gridfs-init.xml
mongo-gridfs-store.xml mongo-has-next.xml mongo-insert.xml mongo-next.xml mongo-query.xml mongo-remove.xml mongo-update.xml
/reference/mongo/mongocollection group.xml /reference/mongo/mongocursor explain.xml key.xml
| From: | TAKAGI Masahiro | Date: | Thu, 18 Jun 2009 03:51:00 +0000 |
| Subject: | cvs: phpdoc-ja /reference/mongo/functions mongo-close.xml mongo-connect.xml mongo-find-one.xml mongo-gridfile-write.xml mongo-gridfs-init.xml mongo-gridfs-store.xml mongo-has-next.xml mongo-insert.xml mongo-next.xml mongo-query.xml mongo-remove.xml mongo-update.xml /reference/mongo/mongocollection group.xml /reference/mongo/mongocursor explain.xml key.xml |
||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-2483@lists.php.net to get a copy of this message | ||
takagi Thu Jun 18 03:51:00 2009 UTC
Added files:
/phpdoc-ja/reference/mongo/mongocursor key.xml explain.xml
/phpdoc-ja/reference/mongo/mongocollection group.xml
Removed files:
/phpdoc-ja/reference/mongo/functions mongo-update.xml
mongo-remove.xml
mongo-query.xml mongo-next.xml
mongo-insert.xml
mongo-has-next.xml
mongo-gridfs-store.xml
mongo-gridfs-init.xml
mongo-gridfile-write.xml
mongo-find-one.xml
mongo-connect.xml
mongo-close.xml
Log:
sync with en.
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/mongo/mongocursor/key.xml?view=markup&rev=1.1
Index: phpdoc-ja/reference/mongo/mongocursor/key.xml
+++ phpdoc-ja/reference/mongo/mongocursor/key.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready -->
<refentry xml:id="mongocursor.key" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>MongoCursor::key</refname>
<refpurpose>ç¾å¨ã®çµæã® _id ãè¿ã</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier>
<type>string</type><methodname>MongoCursor::key</methodname>
<void/>
</methodsynopsis>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
ç¾å¨ã®çµæã® _id ãè¿ãã¾ãã
</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
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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/mongo/mongocursor/explain.xml?view=markup&rev=1.1
Index: phpdoc-ja/reference/mongo/mongocursor/explain.xml
+++ phpdoc-ja/reference/mongo/mongocursor/explain.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready -->
<refentry xml:id="mongocursor.explain" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>MongoCursor::explain</refname>
<refpurpose>æé©åããããã°ã®éã«æå¹ãªãã¯ã¨ãªã®
explain ãè¿ã</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier>
<type>array</type><methodname>MongoCursor::explain</methodname>
<void/>
</methodsynopsis>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
ã¯ã¨ãªã® explain ãè¿ãã¾ãã
</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
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
-->
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/mongo/mongocollection/group.xml?view=markup&rev=1.1
Index: phpdoc-ja/reference/mongo/mongocollection/group.xml
+++ phpdoc-ja/reference/mongo/mongocollection/group.xml
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: takagi Status: ready -->
<refentry xml:id="mongocollection.group" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>MongoCollection::group</refname>
<refpurpose>SQL ã® GROUP BY
ã³ãã³ãã¨ä¼¼ãå¦çãè¡ã</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier>
<type>array</type><methodname>MongoCollection::group</methodname>
<methodparam><type>array</type><parameter>keys</parameter></methodparam>
<methodparam><type>array</type><parameter>initial</parameter></methodparam>
<methodparam><type>string</type><parameter>reduce</parameter></methodparam>
<methodparam
choice="opt"><type>array</type><parameter>condition</parameter><initializer>array()</initializer></methodparam>
</methodsynopsis>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term>
<parameter>keys</parameter>
</term>
<listitem>
<para>
group by ããããã£ã¼ã«ãã
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<parameter>initial</parameter>
</term>
<listitem>
<para>
éç´ã«ã¦ã³ã¿ãªãã¸ã§ã¯ãã®åæå¤ã
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<parameter>reduce</parameter>
</term>
<listitem>
<para>
ãªãã¸ã§ã¯ããéç´ãã颿°ã
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<parameter>condition</parameter>
</term>
<listitem>
<para>
ãã®è¡ãå¦çãããã©ããã夿ããæ¡ä»¶ã
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
çµæãå«ãé
åãè¿ãã¾ãã
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title><function>MongoCollection::group</function> ã®ä¾</title>
<programlisting role="php">
<![CDATA[
<?php
$collection->save(array("a" => 2));
$collection->save(array("b" => 5));
$collection->save(array("a" => 1));
// ãã¹ã¦ã®ãã£ã¼ã«ãã使ç¨ãã¾ã
$keys = array();
// åæå¤ãè¨å®ãã¾ã
$initial = array("count" => 0);
// å®è¡ãã JavaScript 颿°
$reduce = "function (obj, prev) { prev.count++; }";
// "a" ãã£ã¼ã«ãã 1
ãã大ããããã¥ã¡ã³ãã®ã¿ã使ç¨ãã¾ã
$condition = array("a" => array( '$gt' => 1));
$g = $collection->group($keys, $initial, $reduce, $condition);
var_dump($g);
?>
]]>
</programlisting>
&example.outputs.similar;
<screen>
<![CDATA[
array(1) {
[0]=>
array(1) {
["count"]=>
int(1)
}
}
]]>
</screen>
</example>
</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
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
-->