Re: Editing PEAR packages

From: Date: Sun, 05 Jul 2009 15:50:34 +0000
Subject: Re: Editing PEAR packages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-294896@lists.php.net to get a copy of this message
Waynn Lue wrote: > I wanted to makes some local edits to a PEAR package that I downloaded in > order to build some custom functionality into it. What's the best way to > manage this process to ensure that I don't accidentally blow away any > changes if I update the package? Should I just copy the entire package to > my own source repository, then use that directly instead of the PEAR > package? And if I do it that way, is there an easy path to upgrade it? > > Waynn > You might want to see if you can just extend the classes to get the functionality you want. You can override vars and methods from the base class in your own class. -- Thanks! -Shawn http://www.spidean.com

« previous php.general (#294896) next »