if I extend CFC "B" from CFC "A", do all of "A"s VARIABLES scope vars
become available to "B" as if they were originally in "B"?

if so, what if I don't want that - private vars in "A" (global to "A"
only, not local function scope) that should NOT be available to any CFC
that extends from it? 

thanx
barry.b



-----Original Message-----
From: Sean A Corfield [mailto:[EMAIL PROTECTED] 
Sent: Monday, 3 May 2004 3:08 PM
To: CFAussie Mailing List
Subject: [cfaussie] Re: init vars within a cfc

On May 2, 2004, at 9:54 PM, Barry Beattie wrote:
> how does inheritance affect THIS and VARIABLES, and what if you've got

> a
> method you're "overwriting" from the parent CFC?

You mean "overriding" (not "overwriting").

Inheritance doesn't affect THIS / VARIABLES. Those scopes behave the 
same in the parent as in the child (since VARIABLES scope is really 
'protected' in Java speak).

Can you be a bit more specific with your question?

Regards,
Sean


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004


---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to