Please help me clarify a point in the documentation relating to 'this' and
inheritance. If I can summarise so far:
Variables scope - private instance variables accessible to all methods and
pages included from the component and persists for the life of the object -
all super classes share the same variables scope in any one instance of a
class.
But what about this? - the documentation states that one cannot use the
'this' scope in super classes - meaning what? Please explain and use the
example below - or better...
Could you provide the documentation reference that is confusing you?
'this' scope and 'variables' scope are identical in terms of lifetime - they both exist for the duration of the CFC instance. 'variables' containing non-public items (and a reference to 'this' scope and references to public functions) whereas 'this' contains only public items (data and functions).
Sean A Corfield -- http://www.corfield.org/blog/
"If you're not annoying somebody, you're not really alive." -- Margaret Atwood
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word '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]
