Re: best practice to have a list of mixed objects

2009-07-02 Thread Bastien
thanks I didn't know about that one, I'll give it a try! On Jul 2, 12:57 pm, Jarek Zgoda wrote: > Wiadomość napisana w dniu 2009-07-02, o godz. 12:45, przez Bastien: > > > I am trying to have a list of various types of objects, for example a > > list mixed with users' profile, users' photo... to

Re: best practice to have a list of mixed objects

2009-07-02 Thread Jarek Zgoda
Wiadomość napisana w dniu 2009-07-02, o godz. 12:45, przez Bastien: > I am trying to have a list of various types of objects, for example a > list mixed with users' profile, users' photo... to try to order all > these elements together by the amount of votes they received. > > I use the list() fu

best practice to have a list of mixed objects

2009-07-02 Thread Bastien
Hello, I am trying to have a list of various types of objects, for example a list mixed with users' profile, users' photo... to try to order all these elements together by the amount of votes they received. I use the list() function to store each query in a different variable and then I extend()