[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/_mongo/mongoid/construct.xml_mongo/mongoid/tostr
From: Jeremy_Mikola <jmikola () php ! net>
Date: 2017-08-30 16:05:54
Message-ID: svn-jmikola-1504109154-342971-1525154255 () svn ! php ! net
[Download RAW message or body]
jmikola Wed, 30 Aug 2017 16:05:54 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=342971
Log:
Rename ObjectID (and its interface) to ObjectId
https://jira.mongodb.org/browse/PHPC-1004
Changed paths:
U phpdoc/en/trunk/reference/mongo/mongoid/construct.xml
U phpdoc/en/trunk/reference/mongo/mongoid/tostring.xml
U phpdoc/en/trunk/reference/mongo/mongoid.xml
U phpdoc/en/trunk/reference/mongodb/bson/objectid/construct.xml
U phpdoc/en/trunk/reference/mongodb/bson/objectid/gettimestamp.xml
U phpdoc/en/trunk/reference/mongodb/bson/objectid/jsonserialize.xml
U phpdoc/en/trunk/reference/mongodb/bson/objectid/serialize.xml
U phpdoc/en/trunk/reference/mongodb/bson/objectid/tostring.xml
U phpdoc/en/trunk/reference/mongodb/bson/objectid/unserialize.xml
U phpdoc/en/trunk/reference/mongodb/bson/objectid.xml
U phpdoc/en/trunk/reference/mongodb/bson/objectidinterface/gettimestamp.xml
U phpdoc/en/trunk/reference/mongodb/bson/objectidinterface/tostring.xml
U phpdoc/en/trunk/reference/mongodb/bson/objectidinterface.xml
U phpdoc/en/trunk/reference/mongodb/bson/serializable/bsonserialize.xml
U phpdoc/en/trunk/reference/mongodb/functions/bson/fromjson.xml
U phpdoc/en/trunk/reference/mongodb/functions/bson/tocanonicalextendedjson.xml
U phpdoc/en/trunk/reference/mongodb/functions/bson/tojson.xml
U phpdoc/en/trunk/reference/mongodb/functions/bson/torelaxedextendedjson.xml
U phpdoc/en/trunk/reference/mongodb/mongodb/driver/bulkwrite/insert.xml
U phpdoc/en/trunk/reference/mongodb/mongodb/driver/cursor/settypemap.xml
U phpdoc/en/trunk/reference/mongodb/mongodb/driver/cursor/toarray.xml
U phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executebulkwrite.xml
U phpdoc/en/trunk/reference/mongodb/mongodb/driver/writeresult/getupsertedids.xml
["svn-diffs-342971.txt" (text/x-diff)]
Modified: phpdoc/en/trunk/reference/mongo/mongoid/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongoid/construct.xml 2017-08-30 15:57:18 UTC \
(rev 342970)
+++ phpdoc/en/trunk/reference/mongo/mongoid/construct.xml 2017-08-30 16:05:54 UTC \
(rev 342971) @@ -11,7 +11,7 @@
<sidebar>
&mongo.alternative.method.note;
<simplelist role="alternatives">
- <member><methodname>MongoDB\BSON\ObjectID::__construct</methodname></member>
+ <member><methodname>MongoDB\BSON\ObjectId::__construct</methodname></member>
</simplelist>
</sidebar>
</refsynopsisdiv>
Modified: phpdoc/en/trunk/reference/mongo/mongoid/tostring.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongoid/tostring.xml 2017-08-30 15:57:18 UTC (rev \
342970)
+++ phpdoc/en/trunk/reference/mongo/mongoid/tostring.xml 2017-08-30 16:05:54 UTC (rev \
342971) @@ -11,7 +11,7 @@
<sidebar>
&mongo.alternative.method.note;
<simplelist role="alternatives">
- <member><methodname>MongoDB\BSON\ObjectID::__toString</methodname></member>
+ <member><methodname>MongoDB\BSON\ObjectId::__toString</methodname></member>
</simplelist>
</sidebar>
</refsynopsisdiv>
Modified: phpdoc/en/trunk/reference/mongo/mongoid.xml
===================================================================
--- phpdoc/en/trunk/reference/mongo/mongoid.xml 2017-08-30 15:57:18 UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongo/mongoid.xml 2017-08-30 16:05:54 UTC (rev 342971)
@@ -11,7 +11,7 @@
<warning>
&mongo.alternative.class.note;
<simplelist role="alternatives">
- <member><classname>MongoDB\BSON\ObjectID</classname></member>
+ <member><classname>MongoDB\BSON\ObjectId</classname></member>
</simplelist>
</warning>
Modified: phpdoc/en/trunk/reference/mongodb/bson/objectid/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/bson/objectid/construct.xml 2017-08-30 15:57:18 \
UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/bson/objectid/construct.xml 2017-08-30 16:05:54 \
UTC (rev 342971) @@ -3,14 +3,14 @@
<refentry xml:id="mongodb-bson-objectid.construct" \
xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> \
<refnamediv>
- <refname>MongoDB\BSON\ObjectID::__construct</refname>
- <refpurpose>Construct a new ObjectID</refpurpose>
+ <refname>MongoDB\BSON\ObjectId::__construct</refname>
+ <refpurpose>Construct a new ObjectId</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>final</modifier> <modifier>public</modifier> \
<methodname>MongoDB\BSON\ObjectID::__construct</methodname> + \
<modifier>final</modifier> <modifier>public</modifier> \
<methodname>MongoDB\BSON\ObjectId::__construct</methodname> <methodparam \
choice="opt"><type>string</type><parameter>id</parameter></methodparam> \
</methodsynopsis> </refsect1>
@@ -23,7 +23,7 @@
<listitem>
<para>
A 24-character hexadecimal string. If not provided, the driver will
- generate an ObjectID.
+ generate an ObjectId.
</para>
</listitem>
</varlistentry>
@@ -42,14 +42,14 @@
<refsect1 role="examples">
&reftitle.examples;
<example>
- <title><function>MongoDB\BSON\ObjectID::__construct</function> example</title>
+ <title><function>MongoDB\BSON\ObjectId::__construct</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
-var_dump(new MongoDB\BSON\ObjectID());
+var_dump(new MongoDB\BSON\ObjectId());
-var_dump(new MongoDB\BSON\ObjectID('000000000000000000000001'));
+var_dump(new MongoDB\BSON\ObjectId('000000000000000000000001'));
?>
]]>
@@ -57,11 +57,11 @@
&example.outputs.similar;
<screen>
<![CDATA[
-object(MongoDB\BSON\ObjectID)#1 (1) {
+object(MongoDB\BSON\ObjectId)#1 (1) {
["oid"]=>
string(24) "56732d3dda14d81214634921"
}
-object(MongoDB\BSON\ObjectID)#1 (1) {
+object(MongoDB\BSON\ObjectId)#1 (1) {
["oid"]=>
string(24) "000000000000000000000001"
}
@@ -75,8 +75,8 @@
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
- <member><link xlink:href="&url.mongodb.docs.objectid;">ObjectID \
Reference</link></member>
- <member><link xlink:href="&url.mongodb.docs.bson;#objectid">BSON Types: \
ObjectID</link></member> + <member><link \
xlink:href="&url.mongodb.docs.objectid;">ObjectId Reference</link></member> + \
<member><link xlink:href="&url.mongodb.docs.bson;#objectid">BSON Types: \
ObjectId</link></member> </simplelist>
</refsect1>
Modified: phpdoc/en/trunk/reference/mongodb/bson/objectid/gettimestamp.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/bson/objectid/gettimestamp.xml 2017-08-30 \
15:57:18 UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/bson/objectid/gettimestamp.xml 2017-08-30 \
16:05:54 UTC (rev 342971) @@ -3,18 +3,18 @@
<refentry xml:id="mongodb-bson-objectid.gettimestamp" \
xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> \
<refnamediv>
- <refname>MongoDB\BSON\ObjectID::getTimestamp</refname>
- <refpurpose>Returns the timestamp component of this ObjectID</refpurpose>
+ <refname>MongoDB\BSON\ObjectId::getTimestamp</refname>
+ <refpurpose>Returns the timestamp component of this ObjectId</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>final</modifier> <modifier>public</modifier> \
<type>integer</type><methodname>MongoDB\BSON\ObjectID::getTimestamp</methodname> + \
<modifier>final</modifier> <modifier>public</modifier> \
<type>integer</type><methodname>MongoDB\BSON\ObjectId::getTimestamp</methodname> \
<void /> </methodsynopsis>
<para>
- The timestamp component of an ObjectID is its most significant 32 bits, which
+ The timestamp component of an ObjectId is its most significant 32 bits, which
denotes the number of seconds since the Unix epoch. This value is read as an
unsigned 32-bit integer with big-endian byte order.
</para>
@@ -29,7 +29,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns the timestamp component of this ObjectID.
+ Returns the timestamp component of this ObjectId.
</para>
</refsect1>
@@ -44,14 +44,14 @@
<refsect1 role="examples">
&reftitle.examples;
<example>
- <title><function>MongoDB\BSON\ObjectID::getTimestamp</function> example</title>
+ <title><function>MongoDB\BSON\ObjectId::getTimestamp</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
-var_dump((new MongoDB\BSON\ObjectID())->getTimestamp());
+var_dump((new MongoDB\BSON\ObjectId())->getTimestamp());
-var_dump((new MongoDB\BSON\ObjectID('0000002a0000000000000000'))->getTimestamp());
+var_dump((new MongoDB\BSON\ObjectId('0000002a0000000000000000'))->getTimestamp());
?>
]]>
@@ -70,8 +70,8 @@
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
- <member><link xlink:href="&url.mongodb.docs.objectid;">ObjectID \
Reference</link></member>
- <member><link xlink:href="&url.mongodb.docs.bson;#objectid">BSON Types: \
ObjectID</link></member> + <member><link \
xlink:href="&url.mongodb.docs.objectid;">ObjectId Reference</link></member> + \
<member><link xlink:href="&url.mongodb.docs.bson;#objectid">BSON Types: \
ObjectId</link></member> </simplelist>
</refsect1>
Modified: phpdoc/en/trunk/reference/mongodb/bson/objectid/jsonserialize.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/bson/objectid/jsonserialize.xml 2017-08-30 \
15:57:18 UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/bson/objectid/jsonserialize.xml 2017-08-30 \
16:05:54 UTC (rev 342971) @@ -3,7 +3,7 @@
<refentry xml:id="mongodb-bson-objectid.jsonserialize" \
xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> \
<refnamediv>
- <refname>MongoDB\BSON\ObjectID::jsonSerialize</refname>
+ <refname>MongoDB\BSON\ObjectId::jsonSerialize</refname>
<refpurpose>Returns a representation that can be converted to JSON</refpurpose>
</refnamediv>
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>final</modifier> <modifier>public</modifier> \
<type>mixed</type><methodname>MongoDB\BSON\ObjectID::jsonSerialize</methodname> + \
<modifier>final</modifier> <modifier>public</modifier> \
<type>mixed</type><methodname>MongoDB\BSON\ObjectId::jsonSerialize</methodname> \
<void /> </methodsynopsis>
</refsect1>
@@ -26,7 +26,7 @@
Returns data which can be serialized by <function>json_encode</function> to
produce the <link xlink:href="&url.mongodb.docs.extendedjson;">extended
JSON</link> representation of the
- <classname>MongoDB\BSON\ObjectID</classname>.
+ <classname>MongoDB\BSON\ObjectId</classname>.
</para>
</refsect1>
Modified: phpdoc/en/trunk/reference/mongodb/bson/objectid/serialize.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/bson/objectid/serialize.xml 2017-08-30 15:57:18 \
UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/bson/objectid/serialize.xml 2017-08-30 16:05:54 \
UTC (rev 342971) @@ -3,14 +3,14 @@
<refentry xml:id="mongodb-bson-objectid.serialize" \
xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> \
<refnamediv>
- <refname>MongoDB\BSON\ObjectID::serialize</refname>
- <refpurpose>Serialize an ObjectID</refpurpose>
+ <refname>MongoDB\BSON\ObjectId::serialize</refname>
+ <refpurpose>Serialize an ObjectId</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>final</modifier> <modifier>public</modifier> \
<type>string</type><methodname>MongoDB\BSON\ObjectID::serialize</methodname> + \
<modifier>final</modifier> <modifier>public</modifier> \
<type>string</type><methodname>MongoDB\BSON\ObjectId::serialize</methodname> <void \
/> </methodsynopsis>
</refsect1>
@@ -24,7 +24,7 @@
&reftitle.returnvalues;
<para>
Returns the serialized representation of the
- <classname>MongoDB\BSON\ObjectID</classname>.
+ <classname>MongoDB\BSON\ObjectId</classname>.
</para>
</refsect1>
@@ -38,7 +38,7 @@
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
- <member><methodname>MongoDB\BSON\ObjectID::unserialize</methodname></member>
+ <member><methodname>MongoDB\BSON\ObjectId::unserialize</methodname></member>
<member><function>serialize</function></member>
<member><link linkend="language.oop5.serialization">Serializing \
Objects</link></member> </simplelist>
Modified: phpdoc/en/trunk/reference/mongodb/bson/objectid/tostring.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/bson/objectid/tostring.xml 2017-08-30 15:57:18 \
UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/bson/objectid/tostring.xml 2017-08-30 16:05:54 \
UTC (rev 342971) @@ -3,14 +3,14 @@
<refentry xml:id="mongodb-bson-objectid.tostring" \
xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> \
<refnamediv>
- <refname>MongoDB\BSON\ObjectID::__toString</refname>
- <refpurpose>Returns the hexidecimal representation of this ObjectID</refpurpose>
+ <refname>MongoDB\BSON\ObjectId::__toString</refname>
+ <refpurpose>Returns the hexidecimal representation of this ObjectId</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>final</modifier> <modifier>public</modifier> \
<type>string</type><methodname>MongoDB\BSON\ObjectID::__toString</methodname> + \
<modifier>final</modifier> <modifier>public</modifier> \
<type>string</type><methodname>MongoDB\BSON\ObjectId::__toString</methodname> <void \
/> </methodsynopsis>
</refsect1>
@@ -23,7 +23,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns the hexidecimal representation of this ObjectID.
+ Returns the hexidecimal representation of this ObjectId.
</para>
</refsect1>
@@ -38,13 +38,13 @@
<refsect1 role="examples">
&reftitle.examples;
<example>
- <title><function>MongoDB\BSON\ObjectID::__toString</function> example</title>
+ <title><function>MongoDB\BSON\ObjectId::__toString</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
-var_dump((string) new MongoDB\BSON\ObjectID());
-var_dump((string) new MongoDB\BSON\ObjectID('000000000000000000000001'));
+var_dump((string) new MongoDB\BSON\ObjectId());
+var_dump((string) new MongoDB\BSON\ObjectId('000000000000000000000001'));
?>
]]>
@@ -63,8 +63,8 @@
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
- <member><link xlink:href="&url.mongodb.docs.objectid;">ObjectID \
Reference</link></member>
- <member><link xlink:href="&url.mongodb.docs.bson;#objectid">BSON Types: \
ObjectID</link></member> + <member><link \
xlink:href="&url.mongodb.docs.objectid;">ObjectId Reference</link></member> + \
<member><link xlink:href="&url.mongodb.docs.bson;#objectid">BSON Types: \
ObjectId</link></member> </simplelist>
</refsect1>
Modified: phpdoc/en/trunk/reference/mongodb/bson/objectid/unserialize.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/bson/objectid/unserialize.xml 2017-08-30 \
15:57:18 UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/bson/objectid/unserialize.xml 2017-08-30 \
16:05:54 UTC (rev 342971) @@ -3,14 +3,14 @@
<refentry xml:id="mongodb-bson-objectid.unserialize" \
xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> \
<refnamediv>
- <refname>MongoDB\BSON\ObjectID::unserialize</refname>
- <refpurpose>Unserialize an ObjectID</refpurpose>
+ <refname>MongoDB\BSON\ObjectId::unserialize</refname>
+ <refpurpose>Unserialize an ObjectId</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>final</modifier> <modifier>public</modifier> \
<type>void</type><methodname>MongoDB\BSON\ObjectID::unserialize</methodname> + \
<modifier>final</modifier> <modifier>public</modifier> \
<type>void</type><methodname>MongoDB\BSON\ObjectId::unserialize</methodname> \
<methodparam><type>string</type><parameter>serialized</parameter></methodparam> \
</methodsynopsis> </refsect1>
@@ -23,7 +23,7 @@
<term><parameter>serialized</parameter></term>
<listitem>
<para>
- The serialized <classname>MongoDB\BSON\ObjectID</classname>.
+ The serialized <classname>MongoDB\BSON\ObjectId</classname>.
</para>
</listitem>
</varlistentry>
@@ -34,7 +34,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns the unserialized <classname>MongoDB\BSON\ObjectID</classname>.
+ Returns the unserialized <classname>MongoDB\BSON\ObjectId</classname>.
</para>
</refsect1>
@@ -50,7 +50,7 @@
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
- <member><methodname>MongoDB\BSON\ObjectID::serialize</methodname></member>
+ <member><methodname>MongoDB\BSON\ObjectId::serialize</methodname></member>
<member><function>unserialize</function></member>
<member><link linkend="language.oop5.serialization">Serializing \
Objects</link></member> </simplelist>
Modified: phpdoc/en/trunk/reference/mongodb/bson/objectid.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/bson/objectid.xml 2017-08-30 15:57:18 UTC (rev \
342970)
+++ phpdoc/en/trunk/reference/mongodb/bson/objectid.xml 2017-08-30 16:05:54 UTC (rev \
342971) @@ -3,19 +3,19 @@
<phpdoc:classref xml:id="class.mongodb-bson-objectid" \
xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" \
xmlns:xlink="http://www.w3.org/1999/xlink" \
xmlns:xi="http://www.w3.org/2001/XInclude">
- <title>The MongoDB\BSON\ObjectID class</title>
- <titleabbrev>MongoDB\BSON\ObjectID</titleabbrev>
+ <title>The MongoDB\BSON\ObjectId class</title>
+ <titleabbrev>MongoDB\BSON\ObjectId</titleabbrev>
<partintro>
-<!-- {{{ MongoDB\BSON\ObjectID intro -->
+<!-- {{{ MongoDB\BSON\ObjectId intro -->
<section xml:id="mongodb-bson-objectid.intro">
&reftitle.intro;
<para>
BSON type for an
- <link xlink:href="&url.mongodb.docs.bson;#objectid">ObjectID</link>. The
+ <link xlink:href="&url.mongodb.docs.bson;#objectid">ObjectId</link>. The
value consists of 12 bytes, where the first four bytes are a timestamp
- that reflect the ObjectID's creation. Specifically, the value consists of:
+ that reflect the ObjectId's creation. Specifically, the value consists of:
</para>
<itemizedlist>
<listitem><simpara>a 4-byte value representing the seconds since the Unix \
epoch,</simpara></listitem> @@ -27,15 +27,15 @@
In MongoDB, each document stored in a collection requires a unique
<literal>_id</literal> field that acts as a primary key. If an inserted
document omits the <literal>_id</literal> field, the driver automatically
- generates an ObjectID for the <literal>_id</literal> field.
+ generates an ObjectId for the <literal>_id</literal> field.
</para>
<para>
- Using ObjectIDs for the <literal>_id</literal> field provides the following
+ Using ObjectIds for the <literal>_id</literal> field provides the following
additional benefits:
</para>
<itemizedlist>
- <listitem><simpara>The creation time of the ObjectID may be accessed using the \
<methodname>MongoDB\BSON\ObjectID::getTimestamp</methodname> \
method.</simpara></listitem>
- <listitem><simpara>Sorting on an <literal>_id</literal> field that stores \
ObjectID values is roughly equivalent to sorting by creation \
time.</simpara></listitem> + <listitem><simpara>The creation time of the ObjectId \
may be accessed using the \
<methodname>MongoDB\BSON\ObjectId::getTimestamp</methodname> \
method.</simpara></listitem> + <listitem><simpara>Sorting on an \
<literal>_id</literal> field that stores ObjectId values is roughly equivalent to \
sorting by creation time.</simpara></listitem> </itemizedlist>
</section>
<!-- }}} -->
@@ -45,16 +45,16 @@
<!-- {{{ Synopsis -->
<classsynopsis>
- <ooclass><classname>MongoDB\BSON\ObjectID</classname></ooclass>
+ <ooclass><classname>MongoDB\BSON\ObjectId</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
- <classname>MongoDB\BSON\ObjectID</classname>
+ <classname>MongoDB\BSON\ObjectId</classname>
</ooclass>
<oointerface>
- <interfacename>MongoDB\BSON\ObjectIDInterface</interfacename>
+ <interfacename>MongoDB\BSON\ObjectIdInterface</interfacename>
</oointerface>
<oointerface>
@@ -91,6 +91,15 @@
</thead>
<tbody>
<row>
+ <entry>1.3.0</entry>
+ <entry>
+ <para>
+ Renamed from <literal>MongoDB\BSON\ObjectId</literal> to
+ <literal>MongoDB\BSON\ObjectId</literal>.
+ </para>
+ </entry>
+ </row>
+ <row>
<entry>1.2.0</entry>
<entry>
Implements <interfacename>Serializable</interfacename> and
Modified: phpdoc/en/trunk/reference/mongodb/bson/objectidinterface/gettimestamp.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/bson/objectidinterface/gettimestamp.xml 2017-08-30 \
15:57:18 UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/bson/objectidinterface/gettimestamp.xml 2017-08-30 \
16:05:54 UTC (rev 342971) @@ -3,14 +3,14 @@
<refentry xml:id="mongodb-bson-objectidinterface.gettimestamp" \
xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> \
<refnamediv>
- <refname>MongoDB\BSON\ObjectIDInterface::getTimestamp</refname>
- <refpurpose>Returns the timestamp component of this ObjectIDInterface</refpurpose>
+ <refname>MongoDB\BSON\ObjectIdInterface::getTimestamp</refname>
+ <refpurpose>Returns the timestamp component of this ObjectIdInterface</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>abstract</modifier> <modifier>public</modifier> \
<type>integer</type><methodname>MongoDB\BSON\ObjectIDInterface::getTimestamp</methodname>
+ <modifier>abstract</modifier> <modifier>public</modifier> \
<type>integer</type><methodname>MongoDB\BSON\ObjectIdInterface::getTimestamp</methodname>
<void />
</methodsynopsis>
</refsect1>
@@ -23,7 +23,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns the timestamp component of this ObjectIDInterface.
+ Returns the timestamp component of this ObjectIdInterface.
</para>
</refsect1>
@@ -30,7 +30,7 @@
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
- <member><methodname>MongoDB\BSON\ObjectID::getTimestamp</methodname></member>
+ <member><methodname>MongoDB\BSON\ObjectId::getTimestamp</methodname></member>
</simplelist>
</refsect1>
Modified: phpdoc/en/trunk/reference/mongodb/bson/objectidinterface/tostring.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/bson/objectidinterface/tostring.xml 2017-08-30 \
15:57:18 UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/bson/objectidinterface/tostring.xml 2017-08-30 \
16:05:54 UTC (rev 342971) @@ -3,14 +3,14 @@
<refentry xml:id="mongodb-bson-objectidinterface.tostring" \
xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> \
<refnamediv>
- <refname>MongoDB\BSON\ObjectIDInterface::__toString</refname>
- <refpurpose>Returns the hexidecimal representation of this \
ObjectIDInterface</refpurpose> + \
<refname>MongoDB\BSON\ObjectIdInterface::__toString</refname> + <refpurpose>Returns \
the hexidecimal representation of this ObjectIdInterface</refpurpose> </refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>abstract</modifier> <modifier>public</modifier> \
<type>string</type><methodname>MongoDB\BSON\ObjectIDInterface::__toString</methodname>
+ <modifier>abstract</modifier> <modifier>public</modifier> \
<type>string</type><methodname>MongoDB\BSON\ObjectIdInterface::__toString</methodname>
<void />
</methodsynopsis>
</refsect1>
@@ -23,7 +23,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns the hexidecimal representation of this ObjectIDInterface.
+ Returns the hexidecimal representation of this ObjectIdInterface.
</para>
</refsect1>
@@ -30,7 +30,7 @@
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
- <member><methodname>MongoDB\BSON\ObjectID::__toString</methodname></member>
+ <member><methodname>MongoDB\BSON\ObjectId::__toString</methodname></member>
</simplelist>
</refsect1>
Modified: phpdoc/en/trunk/reference/mongodb/bson/objectidinterface.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/bson/objectidinterface.xml 2017-08-30 15:57:18 \
UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/bson/objectidinterface.xml 2017-08-30 16:05:54 \
UTC (rev 342971) @@ -3,8 +3,8 @@
<phpdoc:classref xml:id="class.mongodb-bson-objectidinterface" \
xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" \
xmlns:xlink="http://www.w3.org/1999/xlink" \
xmlns:xi="http://www.w3.org/2001/XInclude">
- <title>The MongoDB\BSON\ObjectIDInterface interface</title>
- <titleabbrev>MongoDB\BSON\ObjectIDInterface</titleabbrev>
+ <title>The MongoDB\BSON\ObjectIdInterface interface</title>
+ <titleabbrev>MongoDB\BSON\ObjectIdInterface</titleabbrev>
<partintro>
<section xml:id="mongodb-bson-objectidinterface.intro">
@@ -11,7 +11,7 @@
&reftitle.intro;
<para>
This interface is implemented by
- <classname>MongoDB\BSON\ObjectID</classname> but may also be used for
+ <classname>MongoDB\BSON\ObjectId</classname> but may also be used for
type-hinting and userland classes.
</para>
</section>
@@ -19,10 +19,10 @@
<section xml:id="mongodb-bson-objectidinterface.synopsis">
&reftitle.classsynopsis;
<classsynopsis>
- <ooclass><classname>MongoDB\BSON\ObjectIDInterface</classname></ooclass>
+ <ooclass><classname>MongoDB\BSON\ObjectIdInterface</classname></ooclass>
<classsynopsisinfo>
<ooclass>
- <classname>MongoDB\BSON\ObjectIDInterface</classname>
+ <classname>MongoDB\BSON\ObjectIdInterface</classname>
</ooclass>
</classsynopsisinfo>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
Modified: phpdoc/en/trunk/reference/mongodb/bson/serializable/bsonserialize.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/bson/serializable/bsonserialize.xml 2017-08-30 \
15:57:18 UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/bson/serializable/bsonserialize.xml 2017-08-30 \
16:05:54 UTC (rev 342971) @@ -28,10 +28,10 @@
</para>
<para>
Users are encouraged to include an <property>_id</property> property (e.g. a
- <classname>MongoDB\BSON\ObjectID</classname> initialized in your constructor)
+ <classname>MongoDB\BSON\ObjectId</classname> initialized in your constructor)
when returning data for a BSON root document; otherwise, the driver or
database will need to generate a
- <classname>MongoDB\BSON\ObjectID</classname> when inserting or upserting the
+ <classname>MongoDB\BSON\ObjectId</classname> when inserting or upserting the
document, respectively.
</para>
</refsect1>
@@ -64,7 +64,7 @@
function __construct()
{
- $this->id = new MongoDB\BSON\ObjectID;
+ $this->id = new MongoDB\BSON\ObjectId;
}
function bsonSerialize()
Modified: phpdoc/en/trunk/reference/mongodb/functions/bson/fromjson.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/functions/bson/fromjson.xml 2017-08-30 15:57:18 \
UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/functions/bson/fromjson.xml 2017-08-30 16:05:54 \
UTC (rev 342971) @@ -73,7 +73,7 @@
<![CDATA[
object(stdClass)#2 (1) {
["_id"]=>
- object(MongoDB\BSON\ObjectID)#1 (1) {
+ object(MongoDB\BSON\ObjectId)#1 (1) {
["oid"]=>
string(24) "563143b280d2387c91807965"
}
Modified: phpdoc/en/trunk/reference/mongodb/functions/bson/tocanonicalextendedjson.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/functions/bson/tocanonicalextendedjson.xml 2017-08-30 \
15:57:18 UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/functions/bson/tocanonicalextendedjson.xml 2017-08-30 \
16:05:54 UTC (rev 342971) @@ -71,7 +71,7 @@
[ 'neg_inf' => -INF ],
[ 'array' => [ 'foo', 'bar' ]],
[ 'document' => [ 'foo' => 'bar' ]],
- [ 'oid' => new MongoDB\BSON\ObjectID('56315a7c6118fd1b920270b1') ],
+ [ 'oid' => new MongoDB\BSON\ObjectId('56315a7c6118fd1b920270b1') ],
[ 'dec128' => new MongoDB\BSON\Decimal128('1234.5678') ],
[ 'binary' => new MongoDB\BSON\Binary('foo', MongoDB\BSON\Binary::TYPE_GENERIC) \
], [ 'date' => new MongoDB\BSON\UTCDateTime(1445990400000) ],
Modified: phpdoc/en/trunk/reference/mongodb/functions/bson/tojson.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/functions/bson/tojson.xml 2017-08-30 15:57:18 \
UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/functions/bson/tojson.xml 2017-08-30 16:05:54 \
UTC (rev 342971) @@ -95,7 +95,7 @@
[ 'neg_inf' => -INF ],
[ 'array' => [ 'foo', 'bar' ]],
[ 'document' => [ 'foo' => 'bar' ]],
- [ 'oid' => new MongoDB\BSON\ObjectID('56315a7c6118fd1b920270b1') ],
+ [ 'oid' => new MongoDB\BSON\ObjectId('56315a7c6118fd1b920270b1') ],
[ 'dec128' => new MongoDB\BSON\Decimal128('1234.5678') ],
[ 'binary' => new MongoDB\BSON\Binary('foo', MongoDB\BSON\Binary::TYPE_GENERIC) \
], [ 'date' => new MongoDB\BSON\UTCDateTime(1445990400000) ],
Modified: phpdoc/en/trunk/reference/mongodb/functions/bson/torelaxedextendedjson.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/functions/bson/torelaxedextendedjson.xml 2017-08-30 \
15:57:18 UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/functions/bson/torelaxedextendedjson.xml 2017-08-30 \
16:05:54 UTC (rev 342971) @@ -70,7 +70,7 @@
[ 'neg_inf' => -INF ],
[ 'array' => [ 'foo', 'bar' ]],
[ 'document' => [ 'foo' => 'bar' ]],
- [ 'oid' => new MongoDB\BSON\ObjectID('56315a7c6118fd1b920270b1') ],
+ [ 'oid' => new MongoDB\BSON\ObjectId('56315a7c6118fd1b920270b1') ],
[ 'dec128' => new MongoDB\BSON\Decimal128('1234.5678') ],
[ 'binary' => new MongoDB\BSON\Binary('foo', MongoDB\BSON\Binary::TYPE_GENERIC) \
], [ 'date' => new MongoDB\BSON\UTCDateTime(1445990400000) ],
Modified: phpdoc/en/trunk/reference/mongodb/mongodb/driver/bulkwrite/insert.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/mongodb/driver/bulkwrite/insert.xml 2017-08-30 \
15:57:18 UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/mongodb/driver/bulkwrite/insert.xml 2017-08-30 \
16:05:54 UTC (rev 342971) @@ -39,7 +39,7 @@
<para>
Returns the <literal>_id</literal> of the inserted document. If the
<parameter>document</parameter> did not have an <literal>_id</literal>, the
- <classname>MongoDB\BSON\ObjectID</classname> generated for the insert will
+ <classname>MongoDB\BSON\ObjectId</classname> generated for the insert will
be returned.
</para>
</refsect1>
@@ -68,7 +68,7 @@
<entry>
The <literal>_id</literal> of the inserted document is always returned.
Previously, the method only returned a value if a
- <classname>MongoDB\BSON\ObjectID</classname> was generated.
+ <classname>MongoDB\BSON\ObjectId</classname> was generated.
</entry>
</row>
</tbody>
@@ -89,7 +89,7 @@
$document1 = ['title' => 'one'];
$document2 = ['_id' => 'custom ID', 'title' => 'two'];
-$document3 = ['_id' => new MongoDB\BSON\ObjectID, 'title' => 'three'];
+$document3 = ['_id' => new MongoDB\BSON\ObjectId, 'title' => 'three'];
$_id1 = $bulk->insert($document1);
$_id2 = $bulk->insert($document2);
@@ -106,7 +106,7 @@
&example.outputs.similar;
<screen>
<![CDATA[
-object(MongoDB\BSON\ObjectID)#3 (1) {
+object(MongoDB\BSON\ObjectId)#3 (1) {
["oid"]=>
string(24) "54d51146bd21b91405401d92"
}
@@ -123,7 +123,7 @@
<simplelist>
<member><methodname>MongoDB\Driver\Manager::executeBulkWrite</methodname></member>
<member><classname>MongoDB\Driver\WriteResult</classname></member>
- <member><classname>MongoDB\BSON\ObjectID</classname></member>
+ <member><classname>MongoDB\BSON\ObjectId</classname></member>
<member><interfacename>MongoDB\BSON\Persistable</interfacename></member>
</simplelist>
</refsect1>
Modified: phpdoc/en/trunk/reference/mongodb/mongodb/driver/cursor/settypemap.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/mongodb/driver/cursor/settypemap.xml 2017-08-30 \
15:57:18 UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/mongodb/driver/cursor/settypemap.xml 2017-08-30 \
16:05:54 UTC (rev 342971) @@ -72,7 +72,7 @@
<![CDATA[
array(2) {
["_id"]=>
- object(MongoDB\BSON\ObjectID)#6 (1) {
+ object(MongoDB\BSON\ObjectId)#6 (1) {
["oid"]=>
string(24) "56424fb76118fd3267180741"
}
Modified: phpdoc/en/trunk/reference/mongodb/mongodb/driver/cursor/toarray.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/mongodb/driver/cursor/toarray.xml 2017-08-30 \
15:57:18 UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/mongodb/driver/cursor/toarray.xml 2017-08-30 \
16:05:54 UTC (rev 342971) @@ -71,7 +71,7 @@
[0]=>
object(stdClass)#6 (2) {
["_id"]=>
- object(MongoDB\BSON\ObjectID)#5 (1) {
+ object(MongoDB\BSON\ObjectId)#5 (1) {
["oid"]=>
string(24) "564259a96118fd40b41bcf61"
}
@@ -81,7 +81,7 @@
[1]=>
object(stdClass)#8 (2) {
["_id"]=>
- object(MongoDB\BSON\ObjectID)#7 (1) {
+ object(MongoDB\BSON\ObjectId)#7 (1) {
["oid"]=>
string(24) "564259a96118fd40b41bcf62"
}
@@ -91,7 +91,7 @@
[2]=>
object(stdClass)#10 (2) {
["_id"]=>
- object(MongoDB\BSON\ObjectID)#9 (1) {
+ object(MongoDB\BSON\ObjectId)#9 (1) {
["oid"]=>
string(24) "564259a96118fd40b41bcf63"
}
Modified: phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executebulkwrite.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executebulkwrite.xml 2017-08-30 \
15:57:18 UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/mongodb/driver/manager/executebulkwrite.xml 2017-08-30 \
16:05:54 UTC (rev 342971) @@ -134,7 +134,7 @@
Updated 1 document(s)
Upserted 2 document(s)
Deleted 1 document(s)
-upsertedId[3]: object(MongoDB\BSON\ObjectID)#5 (1) {
+upsertedId[3]: object(MongoDB\BSON\ObjectId)#5 (1) {
["oid"]=>
string(24) "54d3adc3ce7a792f4d703756"
}
Modified: phpdoc/en/trunk/reference/mongodb/mongodb/driver/writeresult/getupsertedids.xml
===================================================================
--- phpdoc/en/trunk/reference/mongodb/mongodb/driver/writeresult/getupsertedids.xml 2017-08-30 \
15:57:18 UTC (rev 342970)
+++ phpdoc/en/trunk/reference/mongodb/mongodb/driver/writeresult/getupsertedids.xml 2017-08-30 \
16:05:54 UTC (rev 342971) @@ -71,12 +71,12 @@
<![CDATA[
array(2) {
[2]=>
- object(MongoDB\BSON\ObjectID)#4 (1) {
+ object(MongoDB\BSON\ObjectId)#4 (1) {
["oid"]=>
string(24) "580e62a224f2302f191b880b"
}
[3]=>
- object(MongoDB\BSON\ObjectID)#5 (1) {
+ object(MongoDB\BSON\ObjectId)#5 (1) {
["oid"]=>
string(24) "580e62a224f2302f191b880c"
}
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic