Welcome Guest, Not a member yet? Register   Sign In
Trying to call uasort from within a model method
#2

[eluser]Rob Gordijn[/eluser]
look at example #3 here.
you can see you must pass an array for a cmp function that sits in a class.

but my thoughts: move your compare function to a helper and load it.

cheers!


Messages In This Thread
Trying to call uasort from within a model method - by El Forum - 06-09-2010, 06:30 AM
Trying to call uasort from within a model method - by El Forum - 06-09-2010, 06:37 AM
Trying to call uasort from within a model method - by El Forum - 06-09-2010, 06:42 AM
Trying to call uasort from within a model method - by El Forum - 06-09-2010, 06:50 AM
Trying to call uasort from within a model method - by El Forum - 06-09-2010, 07:21 AM
Trying to call uasort from within a model method - by El Forum - 06-09-2010, 09:02 AM
Trying to call uasort from within a model method - by El Forum - 06-09-2010, 09:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB