reference/pspell/functions/pspell-save-wordlist.xml
81b23db050ac0627b056585c16bfe95445ae174e
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>pspell_save_wordlist</methodname>
13
-
<methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam>
13
+
<methodparam><type>PSpell\Dictionary</type><parameter>dictionary</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<simpara>
16
16
<function>pspell_save_wordlist</function> saves the personal wordlist from
...
...
@@ -25,12 +25,9 @@
25
25
<para>
26
26
<variablelist>
27
27
<varlistentry>
28
-
<term><parameter>dictionary_link</parameter></term>
28
+
<term><parameter>dictionary</parameter></term>
29
29
<listitem>
30
-
<para>
31
-
A dictionary link identifier opened with
32
-
<function>pspell_new_personal</function>.
33
-
</para>
30
+
&pspell.parameter.pspell-dictionary;
34
31
</listitem>
35
32
</varlistentry>
36
33
</variablelist>
...
...
@@ -44,6 +41,23 @@
44
41
</para>
45
42
</refsect1>
46
43

44
+
<refsect1 role="changelog">
45
+
&reftitle.changelog;
46
+
<informaltable>
47
+
<tgroup cols="2">
48
+
<thead>
49
+
<row>
50
+
<entry>&Version;</entry>
51
+
<entry>&Description;</entry>
52
+
</row>
53
+
</thead>
54
+
<tbody>
55
+
&pspell.changelog.pspell-dictionary;
56
+
</tbody>
57
+
</tgroup>
58
+
</informaltable>
59
+
</refsect1>
60
+

47
61
<refsect1 role="examples">
48
62
&reftitle.examples;
49
63
<para>
...
...
@@ -54,10 +68,10 @@
54
68
<?php
55
69
$pspell_config = pspell_config_create("en");
56
70
pspell_config_personal($pspell_config, "/tmp/dicts/newdict");
57
-
$pspell_link = pspell_new_config($pspell_config);
71
+
$pspell = pspell_new_config($pspell_config);
58
72

59
-
pspell_add_to_personal($pspell_link, "Vlad");
60
-
pspell_save_wordlist($pspell_link);
73
+
pspell_add_to_personal($pspell, "Vlad");
74
+
pspell_save_wordlist($pspell);
61
75
?>
62
76
]]>
63
77
</programlisting>
...
...
@@ -76,7 +90,6 @@ pspell_save_wordlist($pspell_link);
76
90
</refsect1>
77
91

78
92
</refentry>
79
-

80
93
<!-- Keep this comment at the end of the file
81
94
Local variables:
82
95
mode: sgml
83
96