getCategory and getConstantCategory methods

For questions and postings not covered by the other forums
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

getCategory and getConstantCategory methods

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:38 am

by Darrell Duniam >> Tue, 17 Nov 1998 21:28:31 GMT

Just out of curiosity, can anyone tell me what the difference is between the getCategory and getConstantCategory methods on the schema class please ?

I thought (hoped actually) that getConstantCategory would return the category of a global constant, but the name parameter must be a category name.
--
Darrell Duniam
dduniam@cardinal.co.nz
www.cardinal.co.nz

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: getCategory and getConstantCategory methods

Postby ConvertFromOldNGs » Fri Aug 07, 2009 11:38 am

by Skull >> Wed, 18 Nov 1998 0:54:05 GMT
Just out of curiosity, can anyone tell me what the difference is between the getCategory and getConstantCategory methods on the schema class please ?


The difference is getConstantCategory only searches the receiver whereas getCategory will search the receiver and super schemas in the branch.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 21 guests