reference/pspell/functions/pspell-check.xml
81b23db050ac0627b056585c16bfe95445ae174e
...
...
@@ -10,7 +10,7 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>bool</type><methodname>pspell_check</methodname>
13
-
<methodparam><type>int</type><parameter>dictionary_link</parameter></methodparam>
13
+
<methodparam><type>PSpell\Dictionary</type><parameter>dictionary</parameter></methodparam>
14
14
<methodparam><type>string</type><parameter>word</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<simpara>
...
...
@@ -23,10 +23,9 @@
23
23
<para>
24
24
<variablelist>
25
25
<varlistentry>
26
-
<term><parameter>dictionary_link</parameter></term>
26
+
<term><parameter>dictionary</parameter></term>
27
27
<listitem>
28
-
<para>
29
-
</para>
28
+
&pspell.parameter.pspell-dictionary;
30
29
</listitem>
31
30
</varlistentry>
32
31
<varlistentry>
...
...
@@ -48,6 +47,23 @@
48
47
</para>
49
48
</refsect1>
50
49

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

51
67
<refsect1 role="examples">
52
68
&reftitle.examples;
53
69
<para>
...
...
@@ -56,9 +72,9 @@
56
72
<programlisting role="php">
57
73
<![CDATA[
58
74
<?php
59
-
$pspell_link = pspell_new("en");
75
+
$pspell = pspell_new("en");
60
76

61
-
if (pspell_check($pspell_link, "testt")) {
77
+
if (pspell_check($pspell, "testt")) {
62
78
echo "This is a valid spelling";
63
79
} else {
64
80
echo "Sorry, wrong spelling";
...
...
@@ -71,7 +87,6 @@ if (pspell_check($pspell_link, "testt")) {
71
87
</refsect1>
72
88

73
89
</refentry>
74
-

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