pf » CFC's - private works like protected

CFC's - private works like protected

coldfusion

I noticed yesterday that when you use access="private" in a CFC function, inherited CFC's also have access to this function. In object oriented languages such as Java, C++, or C# this type of access is known as "protected" access. This may be a bug in CFC's, or it may just be a bug in the documentation, which states "private: available only to the component that declares the method".




Related Entries
1 person found this page useful, what do you think?

Trackback Address: 88/24056579F37ECC57232E4F6C795D9E38



  



Spell Checker by Foundeo





Subscribe to my RSS Feed: solosub RSS
Tags