From: Operating system: Windows 7 PHP version: Irrelevant Package: *Extensibility Functions Bug Type: Feature/Change Request Bug description:Make __construct non final
Description: ------------ In order to extends the OAuth object, make the constructor non final so we can redefine __constrcut(). This is useful for framework like drupal, and you can then create an OAuthAdapter (which extends OAuth pecl) and instantiate it by giving a module name. e.g. new OAuthAdapter("facebook"); consumer_key and secret are stored by drupal convention so we can skip this step for développment and make the lib very dev- friendly. (the pattern adapter allows redefinition in case the user don't have control on his webserver - shared environment for instance). Sylvain Lecoy -- Edit bug report at http://bugs.php.net/bug.php?id=53752&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=53752&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=53752&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=53752&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=53752&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=53752&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=53752&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=53752&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=53752&r=needscript Try newer version: http://bugs.php.net/fix.php?id=53752&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=53752&r=support Expected behavior: http://bugs.php.net/fix.php?id=53752&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=53752&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=53752&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=53752&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=53752&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=53752&r=dst IIS Stability: http://bugs.php.net/fix.php?id=53752&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=53752&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=53752&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=53752&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=53752&r=mysqlcfg