reference/pspell/functions/pspell-config-personal.xml
81b23db050ac0627b056585c16bfe95445ae174e
...
...
@@ -10,8 +10,8 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>pspell_config_personal</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 personal wordlist. The personal wordlist will be
...
...
@@ -30,14 +30,13 @@
30
30
<para>
31
31
<variablelist>
32
32
<varlistentry>
33
-
<term><parameter>dictionary_link</parameter></term>
33
+
<term><parameter>config</parameter></term>
34
34
<listitem>
35
-
<para>
36
-
</para>
35
+
&pspell.parameter.pspell-config;
37
36
</listitem>
38
37
</varlistentry>
39
38
<varlistentry>
40
-
<term><parameter>file</parameter></term>
39
+
<term><parameter>filename</parameter></term>
41
40
<listitem>
42
41
<para>
43
42
The personal wordlist. If the file does not exist, it will be created.
...
...
@@ -56,6 +55,23 @@
56
55
</para>
57
56
</refsect1>
58
57

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

59
75
<refsect1 role="examples">
60
76
&reftitle.examples;
61
77
<para>
...
...
@@ -66,8 +82,8 @@
66
82
<?php
67
83
$pspell_config = pspell_config_create("en");
68
84
pspell_config_personal($pspell_config, "/var/dictionaries/custom.pws");
69
-
$pspell_link = pspell_new_config($pspell_config);
70
-
pspell_check($pspell_link, "thecat");
85
+
$pspell = pspell_new_config($pspell_config);
86
+
pspell_check($pspell, "thecat");
71
87
?>
72
88
]]>
73
89
</programlisting>
...
...
@@ -86,7 +102,6 @@ pspell_check($pspell_link, "thecat");
86
102
</refsect1>
87
103

88
104
</refentry>
89
-

90
105
<!-- Keep this comment at the end of the file
91
106
Local variables:
92
107
mode: sgml
93
108