Constname can't be an array

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@188350 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2005-06-14 10:02:01 +00:00
parent affca01b7d
commit c478965fe5
3 changed files with 10 additions and 10 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- $Revision: 1.2 $ -->
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. -->
<refentry id="function.runkit-constant-add">
<refnamediv>
@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>runkit_constant_add</methodname>
<methodparam><type>mixed</type><parameter>constname</parameter></methodparam>
<methodparam><type>string</type><parameter>constname</parameter></methodparam>
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
</methodsynopsis>
</refsect1>
@ -25,7 +25,7 @@
<listitem>
<para>
Name of constant to declare. Either a string to indicate a global constant,
or an array to indicate a class constant.
or <literal>classname::constname</literal> to indicate a class constant.
</para>
</listitem>
</varlistentry>

View file

@ -1,18 +1,18 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- $Revision: 1.2 $ -->
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. -->
<refentry id="function.runkit-constant-redefine">
<refnamediv>
<refname>runkit_constant_redefine</refname>
<refpurpose>
Redefine an already defined constant
</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>runkit_constant_redefine</methodname>
<methodparam><type>mixed</type><parameter>constname</parameter></methodparam>
<methodparam><type>string</type><parameter>constname</parameter></methodparam>
<methodparam><type>mixed</type><parameter>newvalue</parameter></methodparam>
</methodsynopsis>
</refsect1>
@ -26,7 +26,7 @@
<listitem>
<para>
Constant to redefine. Either string indicating global constant,
or array indicating class constant.
or <literal>classname::constname</literal> indicating class constant.
</para>
</listitem>
</varlistentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- $Revision: 1.2 $ -->
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. -->
<refentry id="function.runkit-constant-remove">
<refnamediv>
@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>runkit_constant_remove</methodname>
<methodparam><type>mixed</type><parameter>constname</parameter></methodparam>
<methodparam><type>string</type><parameter>constname</parameter></methodparam>
</methodsynopsis>
</refsect1>
@ -25,7 +25,7 @@
<listitem>
<para>
Name of constant to remove. Either a string indicating a global constant,
or an aray indicating a class constant.
or <literal>classname::constname</literal> indicating a class constant.
</para>
</listitem>
</varlistentry>