I'm designing a simple web-app in CI. I have a registration controller, and a paypal controller. Both work fine separately, but I need to use some functions of the paypal controller as a part of registration. How can I borrow those functions w/o pasting new functions into the registration controller?
It really wouldn't be a problem to paste in the paypal controller to the reg_controller, but I'd like to separate these functions if possible! :)
BTW, I'm new to CI/MVC so if there's a better way to do things, let me know!