reference/pspell/functions/pspell-config-repl.xml
81b23db050ac0627b056585c16bfe95445ae174e
...
...
@@ -10,8 +10,8 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>pspell_config_repl</methodname>
13
-
<methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam>
14
-
<methodparam><type>string</type><parameter>file</parameter></methodparam>
13
+
<methodparam><type>PSpell\Config</type><parameter>config</parameter></methodparam>
14
+
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
17
17
Set a file that contains replacement pairs.
...
...
@@ -34,14 +34,13 @@
34
34
<para>
35
35
<variablelist>
36
36
<varlistentry>
37
-
<term><parameter>dictionary_link</parameter></term>
37
+
<term><parameter>config</parameter></term>
38
38
<listitem>
39
-
<para>
40
-
</para>
39
+
&pspell.parameter.pspell-config;
41
40
</listitem>
42
41
</varlistentry>
43
42
<varlistentry>
44
-
<term><parameter>file</parameter></term>
43
+
<term><parameter>filename</parameter></term>
45
44
<listitem>
46
45
<para>
47
46
The file should be writable by whoever PHP runs as (e.g. nobody).
...
...
@@ -59,6 +58,23 @@
59
58
</para>
60
59
</refsect1>
61
60

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

62
78
<refsect1 role="examples">
63
79
&reftitle.examples;
64
80
<para>
...
...
@@ -70,8 +86,8 @@
70
86
$pspell_config = pspell_config_create("en");
71
87
pspell_config_personal($pspell_config, "/var/dictionaries/custom.pws");
72
88
pspell_config_repl($pspell_config, "/var/dictionaries/custom.repl");
73
-
$pspell_link = pspell_new_config($pspell_config);
74
-
pspell_check($pspell_link, "thecat");
89
+
$pspell = pspell_new_config($pspell_config);
90
+
pspell_check($pspell, "thecat");
75
91
?>
76
92
]]>
77
93
</programlisting>
...
...
@@ -90,7 +106,6 @@ pspell_check($pspell_link, "thecat");
90
106
</refsect1>
91
107

92
108
</refentry>
93
-

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