reference/pspell/functions/pspell-config-mode.xml
81b23db050ac0627b056585c16bfe95445ae174e
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>pspell_config_mode</methodname>
13
-
<methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam>
13
+
<methodparam><type>PSpell\Config</type><parameter>config</parameter></methodparam>
14
14
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<simpara>
...
...
@@ -26,10 +26,9 @@
26
26
<para>
27
27
<variablelist>
28
28
<varlistentry>
29
-
<term><parameter>dictionary_link</parameter></term>
29
+
<term><parameter>config</parameter></term>
30
30
<listitem>
31
-
<para>
32
-
</para>
31
+
&pspell.parameter.pspell-config;
33
32
</listitem>
34
33
</varlistentry>
35
34
<varlistentry>
...
...
@@ -71,6 +70,23 @@
71
70
</para>
72
71
</refsect1>
73
72

73
+
<refsect1 role="changelog">
74
+
&reftitle.changelog;
75
+
<informaltable>
76
+
<tgroup cols="2">
77
+
<thead>
78
+
<row>
79
+
<entry>&Version;</entry>
80
+
<entry>&Description;</entry>
81
+
</row>
82
+
</thead>
83
+
<tbody>
84
+
&pspell.changelog.pspell-config;
85
+
</tbody>
86
+
</tgroup>
87
+
</informaltable>
88
+
</refsect1>
89
+

74
90
<refsect1 role="examples">
75
91
&reftitle.examples;
76
92
<para>
...
...
@@ -81,8 +97,8 @@
81
97
<?php
82
98
$pspell_config = pspell_config_create("en");
83
99
pspell_config_mode($pspell_config, PSPELL_FAST);
84
-
$pspell_link = pspell_new_config($pspell_config);
85
-
pspell_check($pspell_link, "thecat");
100
+
$pspell = pspell_new_config($pspell_config);
101
+
pspell_check($pspell, "thecat");
86
102
?>
87
103
]]>
88
104
</programlisting>
...
...
@@ -91,7 +107,6 @@ pspell_check($pspell_link, "thecat");
91
107
</refsect1>
92
108

93
109
</refentry>
94
-

95
110
<!-- Keep this comment at the end of the file
96
111
Local variables:
97
112
mode: sgml
98
113