reference/pspell/functions/pspell-config-ignore.xml
81b23db050ac0627b056585c16bfe95445ae174e
...
...
@@ -10,8 +10,8 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>pspell_config_ignore</methodname>
13
-
<methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam>
14
-
<methodparam><type>int</type><parameter>n</parameter></methodparam>
13
+
<methodparam><type>PSpell\Config</type><parameter>config</parameter></methodparam>
14
+
<methodparam><type>int</type><parameter>min_length</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<simpara>
17
17
<function>pspell_config_ignore</function> should be used on a config
...
...
@@ -25,17 +25,16 @@
25
25
<para>
26
26
<variablelist>
27
27
<varlistentry>
28
-
<term><parameter>dictionary_link</parameter></term>
28
+
<term><parameter>config</parameter></term>
29
29
<listitem>
30
-
<para>
31
-
</para>
30
+
&pspell.parameter.pspell-config;
32
31
</listitem>
33
32
</varlistentry>
34
33
<varlistentry>
35
-
<term><parameter>n</parameter></term>
34
+
<term><parameter>min_length</parameter></term>
36
35
<listitem>
37
36
<para>
38
-
Words less than <parameter>n</parameter> characters will be skipped.
37
+
Words less than <parameter>min_length</parameter> characters will be skipped.
39
38
</para>
40
39
</listitem>
41
40
</varlistentry>
...
...
@@ -50,6 +49,23 @@
50
49
</para>
51
50
</refsect1>
52
51

52
+
<refsect1 role="changelog">
53
+
&reftitle.changelog;
54
+
<informaltable>
55
+
<tgroup cols="2">
56
+
<thead>
57
+
<row>
58
+
<entry>&Version;</entry>
59
+
<entry>&Description;</entry>
60
+
</row>
61
+
</thead>
62
+
<tbody>
63
+
&pspell.changelog.pspell-config;
64
+
</tbody>
65
+
</tgroup>
66
+
</informaltable>
67
+
</refsect1>
68
+

53
69
<refsect1 role="examples">
54
70
&reftitle.examples;
55
71
<para>
...
...
@@ -60,8 +76,8 @@
60
76
<?php
61
77
$pspell_config = pspell_config_create("en");
62
78
pspell_config_ignore($pspell_config, 5);
63
-
$pspell_link = pspell_new_config($pspell_config);
64
-
pspell_check($pspell_link, "abcd"); //will not result in an error
79
+
$pspell = pspell_new_config($pspell_config);
80
+
pspell_check($pspell, "abcd"); //will not result in an error
65
81
?>
66
82
]]>
67
83
</programlisting>
...
...
@@ -70,7 +86,6 @@ pspell_check($pspell_link, "abcd"); //will not result in an error
70
86
</refsect1>
71
87

72
88
</refentry>
73
-

74
89
<!-- Keep this comment at the end of the file
75
90
Local variables:
76
91
mode: sgml
77
92