alindeman Sun Mar 31 13:56:52 2002 EDT
Modified files:
/phpdoc/en/functions info.xml
Log:
flag param in phpcredits() *is* optional
Index: phpdoc/en/functions/info.xml
diff -u phpdoc/en/functions/info.xml:1.93 phpdoc/en/functions/info.xml:1.94
--- phpdoc/en/functions/info.xml:1.93 Thu Mar 28 12:16:40 2002
+++ phpdoc/en/functions/info.xml Sun Mar 31 13:56:52 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.93 $ -->
+<!-- $Revision: 1.94 $ -->
<reference id="ref.info">
<title>PHP Options&Information</title>
<titleabbrev>PHP Options/Info</titleabbrev>
@@ -1310,15 +1310,16 @@
<title>Description</title>
<methodsynopsis>
<type>void</type><methodname>phpcredits</methodname>
- <methodparam><type>int</type><parameter>flag</parameter></methodparam>
+ <methodparam
+choice="opt"><type>int</type><parameter>flag</parameter></methodparam>
</methodsynopsis>
<para>
This function prints out the credits listing the PHP developers,
modules, etc. It generates the appropriate HTML codes to insert
- the information in a page. A parameter indicating what will be
- printed (a pre-defined constant flag, see table below) needs to
- be passed. For example to print the general credits, you will use
- somewhere in your code:
+ the information in a page. <parameter>flag</parameter> is
+ optional, and it defaults to <constant>CREDITS_ALL</constant>.
+ To generate a custom credits page, you may want to use the
+ <parameter>flag</parameter> parameter. For example to print
+ the general credits, you will use somewhere in your code:
<informalexample>
<programlisting role="php">
<![CDATA[