Welcome Guest, Not a member yet? Register   Sign In
Persist an object and its methods
#1

[eluser]Jim Higgins[/eluser]
I am wondering if it is possible to persist an object beyond the controller or model it's created in. I know, for instance, you can pass an object to a view, but I believe the object is simply turned into an array. Can you maintain the object and it's methods when passing an object to a view?

In other words, can I create an object in a controller, pass that object to the view, access it's methods, and then pass it on to another controller if I wanted?


Messages In This Thread
Persist an object and its methods - by El Forum - 03-27-2008, 08:42 AM
Persist an object and its methods - by El Forum - 03-27-2008, 10:24 AM
Persist an object and its methods - by El Forum - 03-27-2008, 10:55 AM
Persist an object and its methods - by El Forum - 03-27-2008, 11:31 AM
Persist an object and its methods - by El Forum - 03-27-2008, 11:37 AM
Persist an object and its methods - by El Forum - 03-27-2008, 11:49 AM
Persist an object and its methods - by El Forum - 03-27-2008, 11:56 AM
Persist an object and its methods - by El Forum - 03-27-2008, 01:54 PM
Persist an object and its methods - by El Forum - 03-28-2008, 04:46 AM
Persist an object and its methods - by El Forum - 03-28-2008, 06:42 AM
Persist an object and its methods - by El Forum - 03-28-2008, 06:58 AM
Persist an object and its methods - by El Forum - 03-28-2008, 06:58 AM
Persist an object and its methods - by El Forum - 03-28-2008, 07:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB