Req #51928 [NEW]: Create a method to register extended class

From: Date: Thu, 27 May 2010 10:04:40 +0000
Subject: Req #51928 [NEW]: Create a method to register extended class
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-150869@lists.php.net to get a copy of this message
From: Operating system: PHP version: 5.3.2 Package: Reflection related Bug Type: Feature/Change Request Bug description:Create a method to register extended class Description: ------------ Reflection classes can be extended but the parent classes doesn't make the usage of other extended classes. As an example we extend the ReflectionClass and the ReflectionMethod class. CustomReflectionClass extends ReflectionClass { } CustomReflectionMethod extends ReflectionMethod { } When using the CustomReflectionClass::getMethods method it returns an array of ReflectionMethod objects. It should be a possibility to register the CustomReflectionMethod class so that these will be returned by the CustomReflectionClass::getMethods method. For the DOM extensions it exists the DOMDocument::registerNodeClass method for this scenario. -- Edit bug report at http://bugs.php.net/bug.php?id=51928&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51928&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51928&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=51928&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=51928&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51928&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51928&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51928&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51928&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51928&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51928&r=support Expected behavior: http://bugs.php.net/fix.php?id=51928&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51928&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51928&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51928&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51928&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=51928&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51928&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51928&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51928&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51928&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51928&r=mysqlcfg

« previous php.bugs (#150869) next »