1. It comes from MooTools (http://mootools.net/docs/more/Types/Hash#H<http://mootools.net/docs/more/Types/Hash#Hash> ) 2. See above. 3. I believe you could get the user's pubid by doing "user.pipe.pubid", but you'd have to double check that. If I'm not mistaken, userslist is indexed by the user's pubid.
On Tue, Nov 16, 2010 at 1:41 PM, Alaa Keshim <[email protected]> wrote: > Hello > There is somethings in server-side javascript that i need to understand: > 1- What does 'new $H' mean? > 2 - When applying 'var userlist = new $H;' , will 'userlist' be an object? > what is its contents? > 3 -How can I get the pubid of a user? for example: if i have user name > 'alaa' joined the userlist, how can I get its pubid? is there something > similar to 'var pubid = userlist.alaa.getProperty('pubid');' ? > > Thank you in advance. > > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<ape-project%[email protected]> > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ > Git Hub : http://github.com/APE-Project/ > -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
