Welcome Guest, Not a member yet? Register   Sign In
Views and passed variable scopes
#14

I would love to know how to overcome this in CI 2.x - I know I should be upgrading to 3 but too much to do atm.

The troubling part is the way it holds nested info. I use arrays rather than objects, so lets say I am passing $item['title'=> 'name', 'options' => ['one', 'two', 'three']] to the first and the second has no option, guess what, the second inherits the firsts options..
Reply


Messages In This Thread
RE: Views and passed variable scopes - by Narf - 04-15-2016, 07:50 AM
RE: Views and passed variable scopes - by Narf - 04-15-2016, 09:19 AM
RE: Views and passed variable scopes - by Narf - 04-15-2016, 09:36 AM
RE: Views and passed variable scopes - by Narf - 04-15-2016, 09:49 AM
RE: Views and passed variable scopes - by Narf - 04-22-2016, 03:32 PM
RE: Views and passed variable scopes - by polarthedog - 02-06-2017, 12:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB