reference/pspell/functions/pspell-config-runtogether.xml
81b23db050ac0627b056585c16bfe95445ae174e
...
...
@@ -10,8 +10,8 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>pspell_config_runtogether</methodname>
13
-
<methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam>
14
-
<methodparam><type>bool</type><parameter>flag</parameter></methodparam>
13
+
<methodparam><type>PSpell\Config</type><parameter>config</parameter></methodparam>
14
+
<methodparam><type>bool</type><parameter>allow</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
This function determines whether run-together words will be treated as
...
...
@@ -31,14 +31,13 @@
31
31
<para>
32
32
<variablelist>
33
33
<varlistentry>
34
-
<term><parameter>dictionary_link</parameter></term>
34
+
<term><parameter>config</parameter></term>
35
35
<listitem>
36
-
<para>
37
-
</para>
36
+
&pspell.parameter.pspell-config;
38
37
</listitem>
39
38
</varlistentry>
40
39
<varlistentry>
41
-
<term><parameter>flag</parameter></term>
40
+
<term><parameter>allow</parameter></term>
42
41
<listitem>
43
42
<para>
44
43
&true; if run-together words should be treated as legal compounds,
...
...
@@ -57,6 +56,23 @@
57
56
</para>
58
57
</refsect1>
59
58

59
+
<refsect1 role="changelog">
60
+
&reftitle.changelog;
61
+
<informaltable>
62
+
<tgroup cols="2">
63
+
<thead>
64
+
<row>
65
+
<entry>&Version;</entry>
66
+
<entry>&Description;</entry>
67
+
</row>
68
+
</thead>
69
+
<tbody>
70
+
&pspell.changelog.pspell-config;
71
+
</tbody>
72
+
</tgroup>
73
+
</informaltable>
74
+
</refsect1>
75
+

60
76
<refsect1 role="examples">
61
77
&reftitle.examples;
62
78
<para>
...
...
@@ -67,8 +83,8 @@
67
83
<?php
68
84
$pspell_config = pspell_config_create("en");
69
85
pspell_config_runtogether($pspell_config, true);
70
-
$pspell_link = pspell_new_config($pspell_config);
71
-
pspell_check($pspell_link, "thecat");
86
+
$pspell = pspell_new_config($pspell_config);
87
+
pspell_check($pspell, "thecat");
72
88
?>
73
89
]]>
74
90
</programlisting>
...
...
@@ -77,7 +93,6 @@ pspell_check($pspell_link, "thecat");
77
93
</refsect1>
78
94

79
95
</refentry>
80
-

81
96
<!-- Keep this comment at the end of the file
82
97
Local variables:
83
98
mode: sgml
84
99