reference/oci8/functions/oci-set-module-name.xml
ed6de1ae20ce16c0c7be0b3fef282b6065bebfac
...
...
@@ -11,14 +11,14 @@
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>oci_set_module_name</methodname>
13
13
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
14
-
<methodparam><type>string</type><parameter>module_name</parameter></methodparam>
14
+
<methodparam><type>string</type><parameter>name</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
Sets the module name for Oracle tracing.
18
18
</para>
19
19
<para>
20
20
The module name is registered with the database when the next
21
-
'roundtrip' from PHP to the database occurs, typically when an SQL
21
+
'round-trip' from PHP to the database occurs, typically when an SQL
22
22
statement is executed.
23
23
</para>
24
24
<para>
...
...
@@ -43,7 +43,7 @@
43
43
</listitem>
44
44
</varlistentry>
45
45
<varlistentry>
46
-
<term><parameter>module_name</parameter></term>
46
+
<term><parameter>name</parameter></term>
47
47
<listitem>
48
48
<para>
49
49
User chosen <type>string</type> up to 48 bytes long.
...
...
@@ -61,13 +61,6 @@
61
61
</para>
62
62
</refsect1>
63
63

64
-
<refsect1 role="notes">
65
-
&reftitle.notes;
66
-
&oci.availability.note.10g;
67
-
&oci.clientinfo.tip;
68
-
&oci.roundtrip.caution;
69
-
</refsect1>
70
-

71
64
<refsect1 role="examples">
72
65
&reftitle.examples;
73
66
<para>
...
...
@@ -82,7 +75,7 @@ $c = oci_connect('hr', 'welcome', 'localhost/XE');
82
75
// Record the module
83
76
oci_set_module_name($c, 'Home Page');
84
77

85
-
// Code that causes a roundtrip, for example a query:
78
+
// Code that causes a round-trip, for example a query:
86
79
$s = oci_parse($c, 'select * from dual');
87
80
oci_execute($s);
88
81
oci_fetch_all($s, $res);
...
...
@@ -104,6 +97,13 @@ SQL> select module from v$session;
104
97
</para>
105
98
</refsect1>
106
99

100
+
<refsect1 role="notes">
101
+
&reftitle.notes;
102
+
&oci.availability.note.10g;
103
+
&oci.clientinfo.tip;
104
+
&oci.roundtrip.caution;
105
+
</refsect1>
106
+

107
107
<refsect1 role="seealso">
108
108
&reftitle.seealso;
109
109
<para>
...
...
@@ -111,12 +111,12 @@ SQL> select module from v$session;
111
111
<member><function>oci_set_action</function></member>
112
112
<member><function>oci_set_client_info</function></member>
113
113
<member><function>oci_set_client_identifier</function></member>
114
+
<member><function>oci_set_db_operation</function></member>
114
115
</simplelist>
115
116
</para>
116
117
</refsect1>
117
118

118
119
</refentry>
119
-

120
120
<!-- Keep this comment at the end of the file
121
121
Local variables:
122
122
mode: sgml
123
123