Welcome Guest, Not a member yet? Register   Sign In
Hieratic Category Query
#12

[eluser]lightnb[/eluser]
So the demo/Library works if the root is left alone. But I'm still very confused as to how the library integrates with my existing application.


For insertion:
My controller has the name of the new node as a string, and the UID of the parent node as an int.

The Controller then calls the "AddNewCategory" method of my model.

Code:
function AddNewCategory($NewCatName, $ParentCatID)
    {    
         // Somehow the "insertNewChild" method of the "Nested Sets" library gets called here...
             // Can I just stick it here??
    }


Messages In This Thread
Hieratic Category Query - by El Forum - 03-14-2008, 04:12 AM
Hieratic Category Query - by El Forum - 03-14-2008, 06:53 AM
Hieratic Category Query - by El Forum - 03-14-2008, 08:11 AM
Hieratic Category Query - by El Forum - 03-14-2008, 05:23 PM
Hieratic Category Query - by El Forum - 03-15-2008, 12:58 AM
Hieratic Category Query - by El Forum - 03-15-2008, 12:59 AM
Hieratic Category Query - by El Forum - 03-15-2008, 01:16 AM
Hieratic Category Query - by El Forum - 03-15-2008, 09:04 AM
Hieratic Category Query - by El Forum - 03-15-2008, 04:01 PM
Hieratic Category Query - by El Forum - 03-15-2008, 05:19 PM
Hieratic Category Query - by El Forum - 03-15-2008, 06:18 PM
Hieratic Category Query - by El Forum - 03-15-2008, 06:50 PM
Hieratic Category Query - by El Forum - 03-15-2008, 07:18 PM
Hieratic Category Query - by El Forum - 03-15-2008, 09:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB