XF 2.1 well does one class extension enough for both separate addon ?

hemant_bhardwaj

Well-known member
well i am making addon that almost use same functionality that my other addon using, but i want to make it independent. So other user who don't want to purchase another addon
so in short i am extending the thread class with my function to fetch data from thread and pass the custom value
so how can i achieve it in both addon without making them dependent.

i hope i am able to explain :D fuzzy situation
 
You could create a parent addon that‘s a dependency of both addons and provides the shared functionality. That way you don‘t have to duplicate the code and still keep it „dry“.
 
Top Bottom