flag param in phpcredits() *is* optional

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@76070 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Andy Lindeman 2002-03-31 18:56:52 +00:00
parent 2cbf18371d
commit 0f0f425fb6

View file

@ -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&amp;Information</title>
<titleabbrev>PHP Options/Info</titleabbrev>
@ -1310,15 +1310,16 @@ echo $dat["ru_utime.tv_usec"]; # user time used (microseconds)
<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[