Multiple controllers simultaneously?

#2
[eluser]coolfactor[/eluser]
In CI, controllers are used to display pages, not parts of pages (unless it's an ajax request). A controller is actually just a special library. You either want to create a regular library or model class to handle your "news", "polls", and "web_links" components, and then any controller can utilize them to build a page.


Messages In This Thread
Multiple controllers simultaneously? - by El Forum - 09-08-2007, 05:37 AM
Multiple controllers simultaneously? - by El Forum - 09-08-2007, 06:18 AM
Multiple controllers simultaneously? - by El Forum - 09-08-2007, 08:38 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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