cvs: phpdoc /en/reference/aspell/functions aspell-check-raw.xml aspell-new.xml aspell-suggest.xml
| From: | Mehdi Achour | Date: | Wed, 16 Jul 2003 17:07:17 +0000 |
| Subject: | cvs: phpdoc /en/reference/aspell/functions aspell-check-raw.xml aspell-new.xml aspell-suggest.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969355276@lists.php.net to get a copy of this message | ||
didou Wed Jul 16 13:07:17 2003 EDT
Modified files:
/phpdoc/en/reference/aspell/functions aspell-check-raw.xml
aspell-new.xml
aspell-suggest.xml
Log:
adding PHP tags in the examples
Index: phpdoc/en/reference/aspell/functions/aspell-check-raw.xml
diff -u phpdoc/en/reference/aspell/functions/aspell-check-raw.xml:1.2
phpdoc/en/reference/aspell/functions/aspell-check-raw.xml:1.3
--- phpdoc/en/reference/aspell/functions/aspell-check-raw.xml:1.2 Wed Apr 17 02:36:32 2002
+++ phpdoc/en/reference/aspell/functions/aspell-check-raw.xml Wed Jul 16 13:07:16 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/aspell.xml, last change in rev 1.2 -->
<refentry id="function.aspell-check-raw">
<refnamediv>
@@ -25,6 +25,8 @@
<title><function>aspell_check_raw</function></title>
<programlisting role="php">
<![CDATA[
+<?php
+
$aspell_link = aspell_new("english");
if (aspell_check_raw($aspell_link, "test")) {
@@ -32,6 +34,8 @@
} else {
echo "Sorry, wrong spelling";
}
+
+?>
]]>
</programlisting>
</example>
Index: phpdoc/en/reference/aspell/functions/aspell-new.xml
diff -u phpdoc/en/reference/aspell/functions/aspell-new.xml:1.2
phpdoc/en/reference/aspell/functions/aspell-new.xml:1.3
--- phpdoc/en/reference/aspell/functions/aspell-new.xml:1.2 Wed Apr 17 02:36:32 2002
+++ phpdoc/en/reference/aspell/functions/aspell-new.xml Wed Jul 16 13:07:16 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/aspell.xml, last change in rev 1.2 -->
<refentry id="function.aspell-new">
<refnamediv>
@@ -24,7 +24,9 @@
<title><function>aspell_new</function></title>
<programlisting role="php">
<![CDATA[
+<?php
$aspell_link = aspell_new("english");
+?>
]]>
</programlisting>
</example>
Index: phpdoc/en/reference/aspell/functions/aspell-suggest.xml
diff -u phpdoc/en/reference/aspell/functions/aspell-suggest.xml:1.2
phpdoc/en/reference/aspell/functions/aspell-suggest.xml:1.3
--- phpdoc/en/reference/aspell/functions/aspell-suggest.xml:1.2 Wed Apr 17 02:36:32 2002
+++ phpdoc/en/reference/aspell/functions/aspell-suggest.xml Wed Jul 16 13:07:16 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/aspell.xml, last change in rev 1.2 -->
<refentry id="function.aspell-suggest">
<refnamediv>
@@ -22,6 +22,8 @@
<title><function>aspell_suggest</function></title>
<programlisting role="php">
<![CDATA[
+<?php
+
$aspell_link = aspell_new("english");
if (!aspell_check($aspell_link, "test")) {
@@ -31,6 +33,8 @@
echo "Possible spelling: $suggestion<br>\n";
}
}
+
+?>
]]>
</programlisting>
</example>