« Return to Thread: Editing PEAR packages

Re: Editing PEAR packages

by Shawn McKenzie :: Rate this Message:

Reply to Author | View in Thread

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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

 « Return to Thread: Editing PEAR packages