Code restructuring

#1
[eluser]Unknown[/eluser]
I have to make a CURL call in one of my modules.
So, I have written a function to make this CURL call.

But would it be beneficial if I shift this function to my module helper class instead of writing it in the module controller class?

If yes, how can I create a module helper class?


Messages In This Thread
Code restructuring - by El Forum - 08-30-2010, 01:27 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.