Forums > Dev

Attributes – Setting Defaults + getstate

May 4, 2011 | 6:03 pm

I have a couple of queries on using attributes.

1. What is the easiest way to set default values for attributes that will be applied on creation of a new object? Does this have to be done manually by setting the appropriate variable to a value in the new object function, or is there an automated way?

2. The getstate and getfoo messages used to query attributes- must these be implemented manually as functions or is there an automated way?


Viewing 1 post (of 1 total)