Welcome Guest, Not a member yet? Register   Sign In
Using a model from another one
#1

[eluser]camille roux[/eluser]
hello,

I'd like to use a model from another one. I saw that it's not possible to load a model in another model.
Is there a way to do what I want? Is it ugly?

Thank you
#2

[eluser]esra[/eluser]
On the wiki, there is an article and some code for using nested sets by Thunder. Take a look at the example code to see how the category model was extended from the nested sets model. The category model basically inheirts the nested sets model methods and either overloads those nested sets model methods and/or includes new methods.




Theme © iAndrew 2016 - Forum software by © MyBB