Welcome Guest, Not a member yet? Register   Sign In
scopes within CI
#2

[eluser]ramabodhi[/eluser]
i also notice the variable is disappearing on a new server request....

in class User i have a function called setInv($user_id), when called it sets $this->inv to a db query result array...

Now if someone clicks the column title i want it to send to '/inventory/sort/'.$field.'/'.$order
and i want the sort method to sort $this->inventory then just return the view...

I'm having a hard time getting scope to work the way i want to, any help is appreciated


Messages In This Thread
scopes within CI - by El Forum - 04-30-2009, 12:03 PM
scopes within CI - by El Forum - 04-30-2009, 12:12 PM
scopes within CI - by El Forum - 04-30-2009, 06:56 PM
scopes within CI - by El Forum - 04-30-2009, 07:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB