> I lost your reasoning somewhere down the lines. I understand > that using THIS inside a component causes it to be > self-documenting by default in CF while using VARIABLES does > not. However, it sounds like you are saying the opposite. Are > you advocating the VARIABLES scope or the THIS scope?
Neither public nor private member variables are documented by default. However, if you use private member variables and write public accessor and mutator methods, those methods will be documented. If you want public member variables to show in your auto-generated documentation, you have to describe them using CFPROPERTY. If you create an instance of your CFC, and use CFDUMP, you will see public member variables and methods, but not private member variables. I recommend that you use the Variables scope for all member variables. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore and Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:260749 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

