mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fixed PHP-1062: MongoID doesn't ignore invalid id
https://jira.mongodb.org/browse/PHP-1062 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333309 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f44f0a5c90
commit
94933fcf80
1 changed files with 23 additions and 3 deletions
|
@ -25,9 +25,7 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
A string to use as the id. Must be 24 hexidecimal characters. If an
|
||||
invalid string is passed to this constructor, the constructor will ignore
|
||||
it and create a new id value.
|
||||
A string to use as the id. Must be 24 hexidecimal characters.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -42,6 +40,28 @@
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1.4.0</entry>
|
||||
<entry>
|
||||
An exception is thrown when passed invalid string
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example>
|
||||
|
|
Loading…
Reference in a new issue