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>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php