cvs: phpdoc /en/reference/var/functions is-callable.xml

From: Date: Thu, 16 Apr 2009 09:46:57 +0000
Subject: cvs: phpdoc /en/reference/var/functions is-callable.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3740@lists.php.net to get a copy of this message
vrana Thu Apr 16 09:46:57 2009 UTC Modified files: /phpdoc/en/reference/var/functions is-callable.xml Log: First parameter is callback http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/var/functions/is-callable.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc/en/reference/var/functions/is-callable.xml diff -u phpdoc/en/reference/var/functions/is-callable.xml:1.14 phpdoc/en/reference/var/functions/is-callable.xml:1.15 --- phpdoc/en/reference/var/functions/is-callable.xml:1.14 Fri Jan 16 16:14:26 2009 +++ phpdoc/en/reference/var/functions/is-callable.xml Thu Apr 16 09:46:57 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> +<!-- $Revision: 1.15 $ --> <refentry xml:id="function.is-callable" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>is_callable</refname> @@ -12,7 +12,7 @@ &reftitle.description; <methodsynopsis> <type>bool</type><methodname>is_callable</methodname> - <methodparam><type>mixed</type><parameter>var</parameter></methodparam> + <methodparam><type>callback</type><parameter>name</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>syntax_only</parameter><initializer>false</initializer></methodparam> <methodparam choice="opt"><type>string</type><parameter role="reference">callable_name</parameter></methodparam> </methodsynopsis> @@ -29,7 +29,7 @@ <para> <variablelist> <varlistentry> - <term><parameter>var</parameter></term> + <term><parameter>name</parameter></term> <listitem> <para> Can be either the name of a function stored in a string variable, or @@ -43,7 +43,7 @@ <listitem> <para> If set to &true; the function only verifies that - <parameter>var</parameter> might be a function or method. It will only + <parameter>name</parameter> might be a function or method. It will only reject simple variables that are not strings, or an array that does not have a valid structure to be used as a callback. The valid ones are supposed to have only 2 entries, the first of which is an object @@ -69,7 +69,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Returns &true; if <parameter>var</parameter> is callable, &false; + Returns &true; if <parameter>name</parameter> is callable, &false; otherwise. </para> </refsect1>

« previous php.doc.cvs (#3740) next »