[DESIGN] same function in two controller |
[eluser]InsiteFX[/eluser]
DRY create a MY_Controller and place the function in it, then you extend all of your controllers from it. CodeIgniter Base Classes: Keeping it DRY |
Messages In This Thread |
[DESIGN] same function in two controller - by El Forum - 06-09-2012, 05:44 AM
[DESIGN] same function in two controller - by El Forum - 06-09-2012, 05:58 AM
|