Welcome Guest, Not a member yet? Register   Sign In
Using CI from PHP (rather than URL)
#8

[eluser]Colin Williams[/eluser]
A controller function should simply piece together the data and views for the client. It's not meant to serve other parts of the application. If you need to abstract functionality, consider whether a helper function is appropriate, or extend the base controller so all sub controller classes have access to the common function via $this->method() or parent::method()


Messages In This Thread
Using CI from PHP (rather than URL) - by El Forum - 10-13-2010, 01:10 PM
Using CI from PHP (rather than URL) - by El Forum - 10-13-2010, 01:45 PM
Using CI from PHP (rather than URL) - by El Forum - 10-13-2010, 01:52 PM
Using CI from PHP (rather than URL) - by El Forum - 10-13-2010, 09:55 PM
Using CI from PHP (rather than URL) - by El Forum - 10-14-2010, 07:11 AM
Using CI from PHP (rather than URL) - by El Forum - 10-17-2010, 11:29 AM
Using CI from PHP (rather than URL) - by El Forum - 10-18-2010, 01:19 AM
Using CI from PHP (rather than URL) - by El Forum - 10-18-2010, 02:08 AM
Using CI from PHP (rather than URL) - by El Forum - 10-18-2010, 02:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB