Brad, you're confusing protected with package. Package allows objects in the
same package (folder) to access a variable. Protected means the variable is
accessible by subclasses.

On Sat, Feb 7, 2009 at 10:43 PM, Brad Wood <[email protected]> wrote:

>
> Private is only available to methods in that component.  Protected is
> available to any component in the same folder.  In my opinion this assumes
> you are using the package set up where your components are in folders like
> /CFC/business/person/personBean.cfc
> /CFC/business/person/personService.cfc
> /CFC/business/person/personFoo.cfc
>
> Any of those components could access each other's protected methods.
> Someone correct me if I am wrong, but I do not believe ColdFusion provides
> a
> way to mark a variable as protected.
>
> ~Brad
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319032
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to