Welcome Guest, Not a member yet? Register   Sign In
Pass objects to array by value
#6

[eluser]mironcho[/eluser]
You could define __clone() method in your class and clone all objects (Driver 1, Driver 2, Chassis etc) into it. If Driver 1 is a collection of objects - define __clone() in Driver 1, and so on...


Messages In This Thread
Pass objects to array by value - by El Forum - 01-25-2008, 04:28 PM
Pass objects to array by value - by El Forum - 01-25-2008, 05:07 PM
Pass objects to array by value - by El Forum - 01-27-2008, 09:28 AM
Pass objects to array by value - by El Forum - 01-27-2008, 01:26 PM
Pass objects to array by value - by El Forum - 01-27-2008, 04:07 PM
Pass objects to array by value - by El Forum - 01-28-2008, 12:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB