svn: /pear/peardoc/trunk/en/package/console/console-commandline/ options.xml
| From: | Richard Quadling | Date: | Tue, 25 Jan 2011 14:07:44 +0000 |
| Subject: | svn: /pear/peardoc/trunk/en/package/console/console-commandline/ options.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-12028@lists.php.net to get a copy of this message | ||
rquadling Tue, 25 Jan 2011 14:07:44 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=307732
Log:
Methods used as callbacks must be declared as public methods. Probably the issue with bug #18221.
Awaiting email confirmation of bug reporter.
Bug: http://pear.php.net/bugs/18221 (unknown)
Changed paths:
U pear/peardoc/trunk/en/package/console/console-commandline/options.xml
Modified: pear/peardoc/trunk/en/package/console/console-commandline/options.xml
===================================================================
--- pear/peardoc/trunk/en/package/console/console-commandline/options.xml 2011-01-25 14:01:00 UTC
(rev 307731)
+++ pear/peardoc/trunk/en/package/console/console-commandline/options.xml 2011-01-25 14:07:44 UTC
(rev 307732)
@@ -474,6 +474,7 @@
value (the first argument).</para>
<para>All these arguments should give you enough flexibility to build
complex callback actions.</para>
+ <para>If the callback is to a class method, then the method must be declared as a public
method.</para>
<para>Here is a simple example:</para>
<para>
<programlisting role="php">