svn: /phpdoc/en/trunk/reference/classobj/functions/ is-a.xml is-subclass-of.xml
| From: | Jakub Vrana | Date: | Wed, 11 Jan 2012 04:05:57 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/classobj/functions/ is-a.xml is-subclass-of.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9396@lists.php.net to get a copy of this message | ||
vrana Wed, 11 Jan 2012 04:05:57 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=322047
Log:
$allow_string parameter
Changed paths:
U phpdoc/en/trunk/reference/classobj/functions/is-a.xml
U phpdoc/en/trunk/reference/classobj/functions/is-subclass-of.xml
Modified: phpdoc/en/trunk/reference/classobj/functions/is-a.xml
===================================================================
--- phpdoc/en/trunk/reference/classobj/functions/is-a.xml 2012-01-11 03:22:44 UTC (rev 322046)
+++ phpdoc/en/trunk/reference/classobj/functions/is-a.xml 2012-01-11 04:05:57 UTC (rev 322047)
@@ -11,6 +11,7 @@
<type>bool</type><methodname>is_a</methodname>
<methodparam><type>object</type><parameter>object</parameter></methodparam>
<methodparam><type>string</type><parameter>class_name</parameter></methodparam>
+ <methodparam
choice="opt"><type>bool</type><parameter>allow_string</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
Checks if the given <parameter>object</parameter> is of this class or has
@@ -37,6 +38,14 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>allow_string</parameter></term>
+ <listitem>
+ <para>
+ Whether to call autoloader if the class doesn't exist.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
@@ -60,6 +69,12 @@
</thead>
<tbody>
<row>
+ <entry>5.3.9</entry>
+ <entry>
+ Added <parameter>allow_string</parameter> parameter
+ </entry>
+ </row>
+ <row>
<entry>5.3.0</entry>
<entry>
This function is no longer deprecated, and will therefore
Modified: phpdoc/en/trunk/reference/classobj/functions/is-subclass-of.xml
===================================================================
--- phpdoc/en/trunk/reference/classobj/functions/is-subclass-of.xml 2012-01-11 03:22:44 UTC (rev
322046)
+++ phpdoc/en/trunk/reference/classobj/functions/is-subclass-of.xml 2012-01-11 04:05:57 UTC (rev
322047)
@@ -11,6 +11,7 @@
<type>bool</type><methodname>is_subclass_of</methodname>
<methodparam><type>mixed</type><parameter>object</parameter></methodparam>
<methodparam><type>string</type><parameter>class_name</parameter></methodparam>
+ <methodparam
choice="opt"><type>bool</type><parameter>allow_string</parameter><initializer>&true;</initializer></methodparam>
</methodsynopsis>
<para>
Checks if the given <parameter>object</parameter> has the class
@@ -37,6 +38,14 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>allow_string</parameter></term>
+ <listitem>
+ <para>
+ Whether to call autoloader if the class doesn't exist.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
@@ -61,6 +70,12 @@
</thead>
<tbody>
<row>
+ <entry>5.3.9</entry>
+ <entry>
+ Added <parameter>allow_string</parameter> parameter
+ </entry>
+ </row>
+ <row>
<entry>5.0.3</entry>
<entry>
You may also specify the <parameter>object</parameter> parameter as a