Welcome Guest, Not a member yet? Register   Sign In
Call Controller from View
#14

[eluser]jedd[/eluser]
[quote author="Amit Patel" date="1237651924"]
Now if i want to call one controller function in other controller then what is the right way to call it.[/quote]

Relocate that code block into an external unit - a library or a helper, say - and each controller can load, and use, it from there.


Messages In This Thread
Call Controller from View - by El Forum - 03-16-2009, 02:13 AM
Call Controller from View - by El Forum - 03-16-2009, 02:31 AM
Call Controller from View - by El Forum - 03-16-2009, 02:32 AM
Call Controller from View - by El Forum - 03-16-2009, 02:50 AM
Call Controller from View - by El Forum - 03-16-2009, 03:35 AM
Call Controller from View - by El Forum - 03-16-2009, 05:10 AM
Call Controller from View - by El Forum - 03-16-2009, 05:35 AM
Call Controller from View - by El Forum - 03-16-2009, 06:20 AM
Call Controller from View - by El Forum - 03-16-2009, 07:59 AM
Call Controller from View - by El Forum - 03-16-2009, 08:27 AM
Call Controller from View - by El Forum - 03-19-2009, 11:31 PM
Call Controller from View - by El Forum - 03-20-2009, 12:17 AM
Call Controller from View - by El Forum - 03-21-2009, 05:12 AM
Call Controller from View - by El Forum - 03-21-2009, 06:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB