<cfreturn this /> simply means 'return a reference to this CFC' - it's the only way you can hand back the object itself. Remember that from outside a CFC instance, all you see is the "this" scope (which contains public methods and, heaven forbid, any public variables).

this is not a reference to the CFC instance. It is simply a scope. It so happens that the scope appears to be the same from outside the CFC instance, but it is certainly not an instance.

-Matt

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to