Welcome Guest, Not a member yet? Register   Sign In
call controller from another one
#6

[eluser]wiredesignz[/eluser]
[quote author="EugeneS" date="1196452212"][quote author="wiredesignz" date="1196446696"]why bother, there are easier ways.[/quote]

any suggestions ?[/quote]


Use an autoload library then functions are available to all Controllers.

Use a Model if the functions include domain logic.

Use a Base controller with functions and extend Page Controllers off that.


Messages In This Thread
call controller from another one - by El Forum - 11-30-2007, 06:08 AM
call controller from another one - by El Forum - 11-30-2007, 06:18 AM
call controller from another one - by El Forum - 11-30-2007, 07:50 AM
call controller from another one - by El Forum - 11-30-2007, 09:04 AM
call controller from another one - by El Forum - 11-30-2007, 01:13 PM
call controller from another one - by El Forum - 12-01-2007, 02:10 AM
call controller from another one - by El Forum - 12-01-2007, 03:11 AM
call controller from another one - by El Forum - 12-01-2007, 05:12 AM
call controller from another one - by El Forum - 12-01-2007, 05:36 AM
call controller from another one - by El Forum - 12-01-2007, 05:42 AM
call controller from another one - by El Forum - 12-01-2007, 05:51 AM
call controller from another one - by El Forum - 12-01-2007, 06:01 AM
call controller from another one - by El Forum - 12-01-2007, 06:19 AM
call controller from another one - by El Forum - 12-01-2007, 06:32 AM
call controller from another one - by El Forum - 12-01-2007, 07:29 AM
call controller from another one - by El Forum - 12-01-2007, 08:20 AM
call controller from another one - by El Forum - 12-01-2007, 10:51 AM
call controller from another one - by El Forum - 12-01-2007, 11:19 AM
call controller from another one - by El Forum - 12-03-2007, 07:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB