mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
MongoDB\BSON classes implement JsonSerializable in 1.2.0+
https://jira.mongodb.org/browse/PHPC-459 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341742 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
ae59b81ce1
commit
238822c757
19 changed files with 707 additions and 9 deletions
|
@ -37,6 +37,10 @@
|
|||
<oointerface>
|
||||
<interfacename>Serializable</interfacename>
|
||||
</oointerface>
|
||||
|
||||
<oointerface>
|
||||
<interfacename>JsonSerializable</interfacename>
|
||||
</oointerface>
|
||||
</classsynopsisinfo>
|
||||
<!-- }}} -->
|
||||
<classsynopsisinfo role="comment">Constants</classsynopsisinfo>
|
||||
|
@ -164,7 +168,8 @@
|
|||
<row>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>
|
||||
Implements <interfacename>Serializable</interfacename>.
|
||||
Implements <interfacename>Serializable</interfacename> and
|
||||
<interfacename>JsonSerializable</interfacename>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
71
reference/mongodb/bson/binary/jsonserialize.xml
Normal file
71
reference/mongodb/bson/binary/jsonserialize.xml
Normal file
|
@ -0,0 +1,71 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 337902 $ -->
|
||||
|
||||
<refentry xml:id="mongodb-bson-binary.jsonserialize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MongoDB\BSON\Binary::jsonSerialize</refname>
|
||||
<refpurpose>Returns a representation that can be converted to JSON</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>final</modifier> <modifier>public</modifier> <type>mixed</type><methodname>MongoDB\BSON\Binary::jsonSerialize</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
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\Binary</classname>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.argumentparsing;
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
<member><methodname>JsonSerializable::jsonSerialize</methodname></member>
|
||||
<member><function>json_encode</function></member>
|
||||
<member><link xlink:href="&url.mongodb.docs.extendedjson;">MongoDB Extended JSON</link></member>
|
||||
</simplelist>
|
||||
</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:"~/.phpdoc/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
|
||||
-->
|
|
@ -48,6 +48,10 @@
|
|||
<oointerface>
|
||||
<interfacename>Serializable</interfacename>
|
||||
</oointerface>
|
||||
|
||||
<oointerface>
|
||||
<interfacename>JsonSerializable</interfacename>
|
||||
</oointerface>
|
||||
</classsynopsisinfo>
|
||||
<!-- }}} -->
|
||||
|
||||
|
@ -73,7 +77,8 @@
|
|||
<row>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>
|
||||
Implements <interfacename>Serializable</interfacename>.
|
||||
Implements <interfacename>Serializable</interfacename> and
|
||||
<interfacename>JsonSerializable</interfacename>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
72
reference/mongodb/bson/decimal128/jsonserialize.xml
Normal file
72
reference/mongodb/bson/decimal128/jsonserialize.xml
Normal file
|
@ -0,0 +1,72 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 337902 $ -->
|
||||
|
||||
<refentry xml:id="mongodb-bson-decimal128.jsonserialize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MongoDB\BSON\Decimal128::jsonSerialize</refname>
|
||||
<refpurpose>Returns a representation that can be converted to JSON</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>final</modifier> <modifier>public</modifier> <type>mixed</type><methodname>MongoDB\BSON\Decimal128::jsonSerialize</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
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\Decimal128</classname>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.argumentparsing;
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
<member><methodname>JsonSerializable::jsonSerialize</methodname></member>
|
||||
<member><function>json_encode</function></member>
|
||||
<member><link xlink:href="&url.mongodb.docs.extendedjson;">MongoDB Extended JSON</link></member>
|
||||
</simplelist>
|
||||
</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:"~/.phpdoc/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
|
||||
-->
|
|
@ -37,6 +37,10 @@
|
|||
<oointerface>
|
||||
<interfacename>Serializable</interfacename>
|
||||
</oointerface>
|
||||
|
||||
<oointerface>
|
||||
<interfacename>JsonSerializable</interfacename>
|
||||
</oointerface>
|
||||
</classsynopsisinfo>
|
||||
<!-- }}} -->
|
||||
|
||||
|
@ -62,7 +66,8 @@
|
|||
<row>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>
|
||||
Implements <interfacename>Serializable</interfacename>.
|
||||
Implements <interfacename>Serializable</interfacename> and
|
||||
<interfacename>JsonSerializable</interfacename>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
72
reference/mongodb/bson/javascript/jsonserialize.xml
Normal file
72
reference/mongodb/bson/javascript/jsonserialize.xml
Normal file
|
@ -0,0 +1,72 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 337902 $ -->
|
||||
|
||||
<refentry xml:id="mongodb-bson-javascript.jsonserialize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MongoDB\BSON\Javascript::jsonSerialize</refname>
|
||||
<refpurpose>Returns a representation that can be converted to JSON</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>final</modifier> <modifier>public</modifier> <type>mixed</type><methodname>MongoDB\BSON\Javascript::jsonSerialize</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
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\Javascript</classname>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.argumentparsing;
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
<member><methodname>JsonSerializable::jsonSerialize</methodname></member>
|
||||
<member><function>json_encode</function></member>
|
||||
<member><link xlink:href="&url.mongodb.docs.extendedjson;">MongoDB Extended JSON</link></member>
|
||||
</simplelist>
|
||||
</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:"~/.phpdoc/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
|
||||
-->
|
|
@ -37,6 +37,10 @@
|
|||
<oointerface>
|
||||
<interfacename>Serializable</interfacename>
|
||||
</oointerface>
|
||||
|
||||
<oointerface>
|
||||
<interfacename>JsonSerializable</interfacename>
|
||||
</oointerface>
|
||||
</classsynopsisinfo>
|
||||
<!-- }}} -->
|
||||
|
||||
|
@ -62,7 +66,8 @@
|
|||
<row>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>
|
||||
Implements <interfacename>Serializable</interfacename>.
|
||||
Implements <interfacename>Serializable</interfacename> and
|
||||
<interfacename>JsonSerializable</interfacename>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
71
reference/mongodb/bson/maxkey/jsonserialize.xml
Normal file
71
reference/mongodb/bson/maxkey/jsonserialize.xml
Normal file
|
@ -0,0 +1,71 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 337902 $ -->
|
||||
|
||||
<refentry xml:id="mongodb-bson-maxkey.jsonserialize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MongoDB\BSON\MaxKey::jsonSerialize</refname>
|
||||
<refpurpose>Returns a representation that can be converted to JSON</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>final</modifier> <modifier>public</modifier> <type>mixed</type><methodname>MongoDB\BSON\MaxKey::jsonSerialize</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
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\MaxKey</classname>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.argumentparsing;
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
<member><methodname>JsonSerializable::jsonSerialize</methodname></member>
|
||||
<member><function>json_encode</function></member>
|
||||
<member><link xlink:href="&url.mongodb.docs.extendedjson;">MongoDB Extended JSON</link></member>
|
||||
</simplelist>
|
||||
</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:"~/.phpdoc/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
|
||||
-->
|
|
@ -37,6 +37,10 @@
|
|||
<oointerface>
|
||||
<interfacename>Serializable</interfacename>
|
||||
</oointerface>
|
||||
|
||||
<oointerface>
|
||||
<interfacename>JsonSerializable</interfacename>
|
||||
</oointerface>
|
||||
</classsynopsisinfo>
|
||||
<!-- }}} -->
|
||||
|
||||
|
@ -62,7 +66,8 @@
|
|||
<row>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>
|
||||
Implements <interfacename>Serializable</interfacename>.
|
||||
Implements <interfacename>Serializable</interfacename> and
|
||||
<interfacename>JsonSerializable</interfacename>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
71
reference/mongodb/bson/minkey/jsonserialize.xml
Normal file
71
reference/mongodb/bson/minkey/jsonserialize.xml
Normal file
|
@ -0,0 +1,71 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 337902 $ -->
|
||||
|
||||
<refentry xml:id="mongodb-bson-minkey.jsonserialize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MongoDB\BSON\MinKey::jsonSerialize</refname>
|
||||
<refpurpose>Returns a representation that can be converted to JSON</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>final</modifier> <modifier>public</modifier> <type>mixed</type><methodname>MongoDB\BSON\MinKey::jsonSerialize</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
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\MinKey</classname>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.argumentparsing;
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
<member><methodname>JsonSerializable::jsonSerialize</methodname></member>
|
||||
<member><function>json_encode</function></member>
|
||||
<member><link xlink:href="&url.mongodb.docs.extendedjson;">MongoDB Extended JSON</link></member>
|
||||
</simplelist>
|
||||
</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:"~/.phpdoc/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
|
||||
-->
|
|
@ -37,6 +37,10 @@
|
|||
<oointerface>
|
||||
<interfacename>Serializable</interfacename>
|
||||
</oointerface>
|
||||
|
||||
<oointerface>
|
||||
<interfacename>JsonSerializable</interfacename>
|
||||
</oointerface>
|
||||
</classsynopsisinfo>
|
||||
<!-- }}} -->
|
||||
|
||||
|
@ -62,7 +66,8 @@
|
|||
<row>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>
|
||||
Implements <interfacename>Serializable</interfacename>.
|
||||
Implements <interfacename>Serializable</interfacename> and
|
||||
<interfacename>JsonSerializable</interfacename>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
72
reference/mongodb/bson/objectid/jsonserialize.xml
Normal file
72
reference/mongodb/bson/objectid/jsonserialize.xml
Normal file
|
@ -0,0 +1,72 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 337902 $ -->
|
||||
|
||||
<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>
|
||||
<refpurpose>Returns a representation that can be converted to JSON</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>final</modifier> <modifier>public</modifier> <type>mixed</type><methodname>MongoDB\BSON\ObjectID::jsonSerialize</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
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>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.argumentparsing;
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
<member><methodname>JsonSerializable::jsonSerialize</methodname></member>
|
||||
<member><function>json_encode</function></member>
|
||||
<member><link xlink:href="&url.mongodb.docs.extendedjson;">MongoDB Extended JSON</link></member>
|
||||
</simplelist>
|
||||
</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:"~/.phpdoc/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
|
||||
-->
|
|
@ -37,6 +37,10 @@
|
|||
<oointerface>
|
||||
<interfacename>Serializable</interfacename>
|
||||
</oointerface>
|
||||
|
||||
<oointerface>
|
||||
<interfacename>JsonSerializable</interfacename>
|
||||
</oointerface>
|
||||
</classsynopsisinfo>
|
||||
<!-- }}} -->
|
||||
|
||||
|
@ -62,7 +66,8 @@
|
|||
<row>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>
|
||||
Implements <interfacename>Serializable</interfacename>.
|
||||
Implements <interfacename>Serializable</interfacename> and
|
||||
<interfacename>JsonSerializable</interfacename>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
71
reference/mongodb/bson/regex/jsonserialize.xml
Normal file
71
reference/mongodb/bson/regex/jsonserialize.xml
Normal file
|
@ -0,0 +1,71 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 337902 $ -->
|
||||
|
||||
<refentry xml:id="mongodb-bson-regex.jsonserialize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MongoDB\BSON\Regex::jsonSerialize</refname>
|
||||
<refpurpose>Returns a representation that can be converted to JSON</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>final</modifier> <modifier>public</modifier> <type>mixed</type><methodname>MongoDB\BSON\Regex::jsonSerialize</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
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\Regex</classname>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.argumentparsing;
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
<member><methodname>JsonSerializable::jsonSerialize</methodname></member>
|
||||
<member><function>json_encode</function></member>
|
||||
<member><link xlink:href="&url.mongodb.docs.extendedjson;">MongoDB Extended JSON</link></member>
|
||||
</simplelist>
|
||||
</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:"~/.phpdoc/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
|
||||
-->
|
|
@ -39,6 +39,10 @@
|
|||
<oointerface>
|
||||
<interfacename>Serializable</interfacename>
|
||||
</oointerface>
|
||||
|
||||
<oointerface>
|
||||
<interfacename>JsonSerializable</interfacename>
|
||||
</oointerface>
|
||||
</classsynopsisinfo>
|
||||
<!-- }}} -->
|
||||
|
||||
|
@ -64,7 +68,8 @@
|
|||
<row>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>
|
||||
Implements <interfacename>Serializable</interfacename>.
|
||||
Implements <interfacename>Serializable</interfacename> and
|
||||
<interfacename>JsonSerializable</interfacename>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
72
reference/mongodb/bson/timestamp/jsonserialize.xml
Normal file
72
reference/mongodb/bson/timestamp/jsonserialize.xml
Normal file
|
@ -0,0 +1,72 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 337902 $ -->
|
||||
|
||||
<refentry xml:id="mongodb-bson-timestamp.jsonserialize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MongoDB\BSON\Timestamp::jsonSerialize</refname>
|
||||
<refpurpose>Returns a representation that can be converted to JSON</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>final</modifier> <modifier>public</modifier> <type>mixed</type><methodname>MongoDB\BSON\Timestamp::jsonSerialize</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
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\Timestamp</classname>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.argumentparsing;
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
<member><methodname>JsonSerializable::jsonSerialize</methodname></member>
|
||||
<member><function>json_encode</function></member>
|
||||
<member><link xlink:href="&url.mongodb.docs.extendedjson;">MongoDB Extended JSON</link></member>
|
||||
</simplelist>
|
||||
</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:"~/.phpdoc/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
|
||||
-->
|
|
@ -38,6 +38,10 @@
|
|||
<oointerface>
|
||||
<interfacename>Serializable</interfacename>
|
||||
</oointerface>
|
||||
|
||||
<oointerface>
|
||||
<interfacename>JsonSerializable</interfacename>
|
||||
</oointerface>
|
||||
</classsynopsisinfo>
|
||||
<!-- }}} -->
|
||||
|
||||
|
@ -63,7 +67,8 @@
|
|||
<row>
|
||||
<entry>1.2.0</entry>
|
||||
<entry>
|
||||
Implements <interfacename>Serializable</interfacename>.
|
||||
Implements <interfacename>Serializable</interfacename> and
|
||||
<interfacename>JsonSerializable</interfacename>.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
|
|
72
reference/mongodb/bson/utcdatetime/jsonserialize.xml
Normal file
72
reference/mongodb/bson/utcdatetime/jsonserialize.xml
Normal file
|
@ -0,0 +1,72 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 337902 $ -->
|
||||
|
||||
<refentry xml:id="mongodb-bson-utcdatetime.jsonserialize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MongoDB\BSON\UTCDateTime::jsonSerialize</refname>
|
||||
<refpurpose>Returns a representation that can be converted to JSON</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>final</modifier> <modifier>public</modifier> <type>mixed</type><methodname>MongoDB\BSON\UTCDateTime::jsonSerialize</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
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\UTCDateTime</classname>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.argumentparsing;
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
<member><methodname>JsonSerializable::jsonSerialize</methodname></member>
|
||||
<member><function>json_encode</function></member>
|
||||
<member><link xlink:href="&url.mongodb.docs.extendedjson;">MongoDB Extended JSON</link></member>
|
||||
</simplelist>
|
||||
</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:"~/.phpdoc/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
|
||||
-->
|
|
@ -135,12 +135,14 @@
|
|||
<function name='mongodb\bson\binary::__tostring' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\binary::gettype' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\binary::getdata' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\binary::jsonserialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\binary::serialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\binary::unserialize' from='mongodb >=1.2.0'/>
|
||||
|
||||
<function name='mongodb\bson\decimal128' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\decimal128::__construct' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\decimal128::__tostring' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\decimal128::jsonserialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\decimal128::serialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\decimal128::unserialize' from='mongodb >=1.2.0'/>
|
||||
|
||||
|
@ -149,16 +151,19 @@
|
|||
<function name='mongodb\bson\javascript::__tostring' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\javascript::getcode' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\javascript::getscope' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\javascript::jsonserialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\javascript::serialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\javascript::unserialize' from='mongodb >=1.2.0'/>
|
||||
|
||||
<function name='mongodb\bson\maxkey' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\maxkey::__construct' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\maxkey::jsonserialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\maxkey::serialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\maxkey::unserialize' from='mongodb >=1.2.0'/>
|
||||
|
||||
<function name='mongodb\bson\minkey' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\minkey::__construct' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\minkey::jsonserialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\minkey::serialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\minkey::unserialize' from='mongodb >=1.2.0'/>
|
||||
|
||||
|
@ -166,6 +171,7 @@
|
|||
<function name='mongodb\bson\objectid::__construct' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\objectid::__tostring' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\objectid::gettimestamp' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\objectid::jsonserialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\objectid::serialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\objectid::unserialize' from='mongodb >=1.2.0'/>
|
||||
|
||||
|
@ -174,18 +180,21 @@
|
|||
<function name='mongodb\bson\regex::__tostring' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\regex::getflags' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\regex::getpattern' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\regex::jsonserialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\regex::serialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\regex::unserialize' from='mongodb >=1.2.0'/>
|
||||
|
||||
<function name='mongodb\bson\timestamp' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\timestamp::__construct' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\timestamp::__tostring' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\timestamp::jsonserialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\timestamp::serialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\timestamp::unserialize' from='mongodb >=1.2.0'/>
|
||||
|
||||
<function name='mongodb\bson\utcdatetime' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\utcdatetime::__construct' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\utcdatetime::__tostring' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\utcdatetime::jsonserialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\utcdatetime::todatetime' from='mongodb >=1.0.0'/>
|
||||
<function name='mongodb\bson\utcdatetime::serialize' from='mongodb >=1.2.0'/>
|
||||
<function name='mongodb\bson\utcdatetime::unserialize' from='mongodb >=1.2.0'/>
|
||||
|
|
Loading…
Reference in a new issue