CodeIgniter Forums

Full Version: multi-file controller?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
Hey

I was just wondering if CI or you guys have a method of splitting controllers over multiple files to keep thing a bit cleaner.

El Forum

[eluser]johansonevR[/eluser]
I was wondering the same question , and i ended using url parameters inside a form.
Code:
echo open_form('controller/function');
I will be happy to see a more advanced way of doing this.

El Forum

[eluser]Imran Tariq[/eluser]
You can do it with different controller files
Code:
Controller1/function
Controller2/function
....

Just an idea hope it will help