note 82280 added to function.classkit-method-add

From: Date: Thu, 03 Apr 2008 17:54:04 +0000
Subject: note 82280 added to function.classkit-method-add
Groups: php.notes 
Request: Send a blank email to php-notes+get-137907@lists.php.net to get a copy of this message
If you creates methods by using classkit_method_add(), they are not visible in get_class_methods(). class A { public function foo() { return "foo!\n"; } } classkit_method_redefine('A','bar','','return "bar !\n";',CLASSKIT_ACC_PUBLIC); print_r(get_class_methods('A')); // writes only "foo" ---- Server IP: 212.24.129.51 Probable Submitter: 213.226.234.211 ---- Manual Page -- http://www.php.net/manual/en/function.classkit-method-add.php Edit -- https://master.php.net/note/edit/82280 Del: integrated -- https://master.php.net/note/delete/82280/integrated Del: useless -- https://master.php.net/note/delete/82280/useless Del: bad code -- https://master.php.net/note/delete/82280/bad+code Del: spam -- https://master.php.net/note/delete/82280/spam Del: non-english -- https://master.php.net/note/delete/82280/non-english Del: in docs -- https://master.php.net/note/delete/82280/in+docs Del: other reasons-- https://master.php.net/note/delete/82280 Reject -- https://master.php.net/note/reject/82280 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#137907) next »