cvs: pecl /classkit README

From: Date: Mon, 06 Sep 2004 18:22:45 +0000
Subject: cvs: pecl /classkit README
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-1793@lists.php.net to get a copy of this message
pollita Mon Sep 6 14:22:45 2004 EDT Modified files: /pecl/classkit README Log: example fix http://cvs.php.net/diff.php/pecl/classkit/README?r1=1.1&r2=1.2&ty=u Index: pecl/classkit/README diff -u pecl/classkit/README:1.1 pecl/classkit/README:1.2 --- pecl/classkit/README:1.1 Fri Aug 20 16:16:46 2004 +++ pecl/classkit/README Mon Sep 6 14:22:44 2004 @@ -29,7 +29,7 @@ classkit_method_add('example','bar', '$arg1, $arg2', 'echo "Added method: example::bar\n"; echo "\tArg1: $arg1\n"; echo "\tArg2: $arg2\n";', CLASSKIT_ACC_PROTECTED); /* Rename foo to construct */ -classkit_method_rename('example', 'foo', 'construct'); +classkit_method_rename('example', 'foo', '__construct'); /* Instantiate the object, triggering the method originally defined as foo since it's now the constructor */ $e = new example('hello','world');

« previous php.pecl.cvs (#1793) next »