That is correct

 

 

 

Senior Coldfusion Developer

Aegeon Pty. Ltd.

www.aegeon.com.au

Phone: +613  8676 4223

Mobile: 0404 998 273

 


From: [email protected] [mailto:[email protected]] On Behalf Of Dale Fraser
Sent: Tuesday, 19 September 2006 2:00 PM
To: [email protected]
Subject: [cfaussie] Re: Multiple Level Inheritance

 

So if I have

 

A.cfc

countIt()

 

B.cfc

getSpeed()

 

and

 

C.cfc

 

Would be able to access countIt and getSpeed just not the super version of getSpeed where it has been overridden. Or can it not access countIt() at all?

Regards
Dale Fraser

http://dale.fraser.id.au


 


From: [email protected] [mailto:[email protected]] On Behalf Of Andrew Scott
Sent: Tuesday, 19 September 2006 13:39 PM
To: [email protected]
Subject: [cfaussie] Re: Multiple Level Inheritance

 

Dale,

 

That is correct, the super method will called the parent of the child being called. So if you have a 3 deep inheritance, the super will call the parent 2nd level up, and if that parent has a super then it will call its parent.

 

 

Senior Coldfusion Developer

Aegeon Pty. Ltd.

www.aegeon.com.au

Phone: +613  8676 4223

Mobile: 0404 998 273

 


From: [email protected] [mailto:[email protected]] On Behalf Of Dale Fraser
Sent: Tuesday, 19 September 2006 1:31 PM
To: [email protected]
Subject: [cfaussie] Multiple Level Inheritance

 

I have never used multiple level inheritance in CF but have a need.

 

From what I read it works, although super can only access parent.

 

Is this correct, any gotcha’s I should be on the lookout for?

Regards
Dale Fraser

http://dale.fraser.id.au


 

 

 

 



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie
-~----------~----~----~----~------~----~------~--~---




Reply via email to