Skip to content

Commit d5127e7

Browse files
committed
Document MongoDB\Driver\Session::isDirty()
https://jira.mongodb.org/browse/PHPC-2003
1 parent 557f8ed commit d5127e7

File tree

2 files changed

+63
-0
lines changed

2 files changed

+63
-0
lines changed
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- $Revision: 344522 $ -->
3+
4+
<refentry xml:id="mongodb-driver-session.isdirty" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5+
<refnamediv>
6+
<refname>MongoDB\Driver\Session::isDirty</refname>
7+
<refpurpose>Returns whether the session has been marked as dirty</refpurpose>
8+
</refnamediv>
9+
10+
<refsect1 role="description">
11+
&reftitle.description;
12+
<methodsynopsis>
13+
<modifier>final</modifier> <modifier>public</modifier> <type>bool</type><methodname>MongoDB\Driver\Session::isDirty</methodname>
14+
<void />
15+
</methodsynopsis>
16+
<para>
17+
Returns whether the session has been marked as dirty (i.e. it has been used
18+
with a command that encountered a network error).
19+
</para>
20+
</refsect1>
21+
22+
<refsect1 role="parameters">
23+
&reftitle.parameters;
24+
&no.function.parameters;
25+
</refsect1>
26+
27+
<refsect1 role="returnvalues">
28+
&reftitle.returnvalues;
29+
<para>
30+
Returns whether the session has been marked as dirty.
31+
</para>
32+
</refsect1>
33+
34+
<refsect1 role="errors">
35+
&reftitle.errors;
36+
<simplelist>
37+
&mongodb.throws.argumentparsing;
38+
</simplelist>
39+
</refsect1>
40+
41+
</refentry>
42+
43+
<!-- Keep this comment at the end of the file
44+
Local variables:
45+
mode: sgml
46+
sgml-omittag:t
47+
sgml-shorttag:t
48+
sgml-minimize-attributes:nil
49+
sgml-always-quote-attributes:t
50+
sgml-indent-step:1
51+
sgml-indent-data:t
52+
indent-tabs-mode:nil
53+
sgml-parent-document:nil
54+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
55+
sgml-exposed-tags:nil
56+
sgml-local-catalogs:nil
57+
sgml-local-ecat-files:nil
58+
End:
59+
vim600: syn=xml fen fdm=syntax fdl=2 si
60+
vim: et tw=78 syn=sgml
61+
vi: ts=1 sw=1
62+
-->

reference/mongodb/versions.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@
133133
<function name='mongodb\driver\session::getserver' from='mongodb &gt;=1.6.0'/>
134134
<function name='mongodb\driver\session::gettransactionoptions' from='mongodb &gt;=1.7.0'/>
135135
<function name='mongodb\driver\session::gettransactionstate' from='mongodb &gt;=1.7.0'/>
136+
<function name='mongodb\driver\session::isdirty' from='mongodb &gt;=1.13.0'/>
136137
<function name='mongodb\driver\session::isintransaction' from='mongodb &gt;=1.6.0'/>
137138
<function name='mongodb\driver\session::starttransaction' from='mongodb &gt;=1.5.0'/>
138139

0 commit comments

Comments
 (0)