didou Sat Aug 16 13:35:23 2003 EDT
Modified files:
/phpdoc/en/reference/info/functions get-extension-funcs.xml
get-loaded-extensions.xml
getopt.xml
/phpdoc/en/reference/ingres-ii/functions ingres-connect.xml
ingres-fetch-array.xml
/phpdoc/en/reference/mail/functions ezmlm-hash.xml mail.xml
/phpdoc/en/reference/math/functions pi.xml sin.xml sqrt.xml
Log:
adding role and php tag when needed
Index: phpdoc/en/reference/info/functions/get-extension-funcs.xml
diff -u phpdoc/en/reference/info/functions/get-extension-funcs.xml:1.3
phpdoc/en/reference/info/functions/get-extension-funcs.xml:1.4
--- phpdoc/en/reference/info/functions/get-extension-funcs.xml:1.3 Mon Jun 16
15:33:51 2003
+++ phpdoc/en/reference/info/functions/get-extension-funcs.xml Sat Aug 16 13:35:22
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/info.xml, last change in rev 1.71 -->
<refentry id="function.get-extension-funcs">
<refnamediv>
@@ -21,7 +21,7 @@
<para>
For example the lines below
<informalexample>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
print_r(get_extension_funcs("xml"));
Index: phpdoc/en/reference/info/functions/get-loaded-extensions.xml
diff -u phpdoc/en/reference/info/functions/get-loaded-extensions.xml:1.5
phpdoc/en/reference/info/functions/get-loaded-extensions.xml:1.6
--- phpdoc/en/reference/info/functions/get-loaded-extensions.xml:1.5 Mon Jun 16
15:33:51 2003
+++ phpdoc/en/reference/info/functions/get-loaded-extensions.xml Sat Aug 16
13:35:22 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/info.xml, last change in rev 1.71 -->
<refentry id="function.get-loaded-extensions">
<refnamediv>
@@ -22,7 +22,7 @@
<para>
For example the line below
<informalexample>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
print_r(get_loaded_extensions());
Index: phpdoc/en/reference/info/functions/getopt.xml
diff -u phpdoc/en/reference/info/functions/getopt.xml:1.6
phpdoc/en/reference/info/functions/getopt.xml:1.7
--- phpdoc/en/reference/info/functions/getopt.xml:1.6 Mon Jun 16 15:33:51 2003
+++ phpdoc/en/reference/info/functions/getopt.xml Sat Aug 16 13:35:22 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<refentry id="function.getopt">
<refnamediv>
<refname>getopt</refname>
@@ -18,7 +18,7 @@
</para>
<para>
<informalexample>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
// parse the command line ($GLOBALS['argv'])
Index: phpdoc/en/reference/ingres-ii/functions/ingres-connect.xml
diff -u phpdoc/en/reference/ingres-ii/functions/ingres-connect.xml:1.2
phpdoc/en/reference/ingres-ii/functions/ingres-connect.xml:1.3
--- phpdoc/en/reference/ingres-ii/functions/ingres-connect.xml:1.2 Wed Apr 17
02:39:31 2002
+++ phpdoc/en/reference/ingres-ii/functions/ingres-connect.xml Sat Aug 16 13:35:22
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ingres_ii.xml, last change in rev 1.1 -->
<refentry id="function.ingres-connect">
<refnamediv>
@@ -43,9 +43,10 @@
default, so you need to store the returned value only if you use
more than one link at a time.
</para>
- <example>
- <title><function>ingres_connect</function> example</title>
- <programlisting>
+ <para>
+ <example>
+ <title><function>ingres_connect</function> example</title>
+ <programlisting role="php">
<![CDATA[
<?php
$link = ingres_connect ("mydb", "user", "pass")
@@ -54,13 +55,13 @@
ingres_close ($link);
?>
]]>
- </programlisting>
- </example>
- <example>
- <title>
- <function>ingres_connect</function> example using default link
- </title>
- <programlisting>
+ </programlisting>
+ </example>
+ <example>
+ <title>
+ <function>ingres_connect</function> example using default link
+ </title>
+ <programlisting role="php">
<![CDATA[
<?php
ingres_connect ("mydb", "user", "pass")
@@ -69,8 +70,9 @@
ingres_close ();
?>
]]>
- </programlisting>
- </example>
+ </programlisting>
+ </example>
+ </para>
<para> See also
<function>ingres_pconnect</function> and
<function>ingres_close</function>.
Index: phpdoc/en/reference/ingres-ii/functions/ingres-fetch-array.xml
diff -u phpdoc/en/reference/ingres-ii/functions/ingres-fetch-array.xml:1.2
phpdoc/en/reference/ingres-ii/functions/ingres-fetch-array.xml:1.3
--- phpdoc/en/reference/ingres-ii/functions/ingres-fetch-array.xml:1.2 Wed Apr 17
02:39:32 2002
+++ phpdoc/en/reference/ingres-ii/functions/ingres-fetch-array.xml Sat Aug 16
13:35:22 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/ingres_ii.xml, last change in rev 1.1 -->
<refentry id="function.ingres-fetch-array">
<refnamediv>
@@ -32,12 +32,16 @@
column(s) of the same name, you must use the numeric index of the
column or make an alias for the column.
<informalexample>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
+<?php
+
ingres_query(select t1.f1 as foo t2.f1 as bar from t1, t2);
$result = ingres_fetch_array();
$foo = $result["foo"];
$bar = $result["bar"];
+
+?>
]]>
</programlisting>
</informalexample>
Index: phpdoc/en/reference/mail/functions/ezmlm-hash.xml
diff -u phpdoc/en/reference/mail/functions/ezmlm-hash.xml:1.14
phpdoc/en/reference/mail/functions/ezmlm-hash.xml:1.15
--- phpdoc/en/reference/mail/functions/ezmlm-hash.xml:1.14 Sun Jul 20 11:49:23
2003
+++ phpdoc/en/reference/mail/functions/ezmlm-hash.xml Sat Aug 16 13:35:22 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.14 $ -->
+<!-- $Revision: 1.15 $ -->
<!-- splitted from ./en/functions/mail.xml, last change in rev 1.6 -->
<refentry id="function.ezmlm-hash">
<refnamediv>
@@ -19,12 +19,16 @@
<para>
<example>
<title>Calculating the hash and subscribing a user</title>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
+<?php
+
$user = "[EMAIL PROTECTED]";
$hash = ezmlm_hash ($user);
$query = sprintf ("INSERT INTO sample VALUES (%s, '%s')", $hash, $user);
$db->query($query); // using PHPLIB db interface
+
+?>
]]>
</programlisting>
</example>
Index: phpdoc/en/reference/mail/functions/mail.xml
diff -u phpdoc/en/reference/mail/functions/mail.xml:1.22
phpdoc/en/reference/mail/functions/mail.xml:1.23
--- phpdoc/en/reference/mail/functions/mail.xml:1.22 Sun Jul 20 11:49:23 2003
+++ phpdoc/en/reference/mail/functions/mail.xml Sat Aug 16 13:35:22 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.22 $ -->
+<!-- $Revision: 1.23 $ -->
<!-- splitted from ./en/functions/mail.xml, last change in rev 1.2 -->
<refentry id="function.mail">
<refnamediv>
@@ -61,7 +61,7 @@
<para>
<example>
<title>Sending mail.</title>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
mail("[EMAIL PROTECTED]", "My Subject", "Line 1\nLine 2\nLine 3");
@@ -86,7 +86,7 @@
<para>
<example>
<title>Sending mail with extra headers.</title>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
mail("[EMAIL PROTECTED]", "the subject", $message,
@@ -110,7 +110,7 @@
you set the envelope sender using this method.
<example>
<title>Sending mail with extra headers and setting an additional command line
parameter.</title>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
mail("[EMAIL PROTECTED]", "the subject", $message,
@@ -133,7 +133,7 @@
email messages.
<example>
<title>Sending complex email.</title>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
/* recipients */
Index: phpdoc/en/reference/math/functions/pi.xml
diff -u phpdoc/en/reference/math/functions/pi.xml:1.3
phpdoc/en/reference/math/functions/pi.xml:1.4
--- phpdoc/en/reference/math/functions/pi.xml:1.3 Mon Jun 16 14:31:33 2003
+++ phpdoc/en/reference/math/functions/pi.xml Sat Aug 16 13:35:22 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.pi">
<refnamediv>
@@ -22,7 +22,7 @@
</simpara>
<para>
<informalexample>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
echo pi(); // 3.1415926535898
Index: phpdoc/en/reference/math/functions/sin.xml
diff -u phpdoc/en/reference/math/functions/sin.xml:1.4
phpdoc/en/reference/math/functions/sin.xml:1.5
--- phpdoc/en/reference/math/functions/sin.xml:1.4 Sun Jun 2 07:56:51 2002
+++ phpdoc/en/reference/math/functions/sin.xml Sat Aug 16 13:35:22 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.sin">
<refnamediv>
@@ -18,7 +18,7 @@
</para>
<para>
<informalexample>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
Index: phpdoc/en/reference/math/functions/sqrt.xml
diff -u phpdoc/en/reference/math/functions/sqrt.xml:1.3
phpdoc/en/reference/math/functions/sqrt.xml:1.4
--- phpdoc/en/reference/math/functions/sqrt.xml:1.3 Mon Jun 3 11:06:16 2002
+++ phpdoc/en/reference/math/functions/sqrt.xml Sat Aug 16 13:35:22 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/math.xml, last change in rev 1.2 -->
<refentry id="function.sqrt">
<refnamediv>
@@ -17,7 +17,7 @@
</para>
<para>
<informalexample>
- <programlisting>
+ <programlisting role="php">
<![CDATA[
<?php
// Precision depends on your precision directive
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php