CodeIgniter Forums

Full Version: Code restructuring
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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?