Asher Densmore-Lynn
04/24/2025, 2:48 PMPROTECTED was a private scope for components and our Adobe CF and Lucee 4.x/5.x code is enthusiastically accepting our use of this scope but I can't find any documentation anywhere in the world that acknowledges this scope as a thing that exists. Can anyone tell me what I've done here?zackster
04/24/2025, 2:58 PMzackster
04/24/2025, 3:00 PMAsher Densmore-Lynn
04/24/2025, 3:04 PM<cfcomponent output="false">
<cffunction name="init">
<cfset PROTECTED.SomeRedactedThing = '[nope]';
<cfreturn this>
</cffunction>
...
Everything in the component can touch that scope like it's a sensible and unexceptional thing to be doing, and as near as I can tell it's not some weird thing being set up by a super-class.Asher Densmore-Lynn
04/24/2025, 3:05 PMAsher Densmore-Lynn
04/24/2025, 3:05 PMAsher Densmore-Lynn
04/24/2025, 3:05 PMDavid Johnson
04/24/2025, 3:06 PMDavid Johnson
04/24/2025, 3:06 PMDavid Johnson
04/24/2025, 3:07 PMAsher Densmore-Lynn
04/24/2025, 3:07 PMAsher Densmore-Lynn
04/24/2025, 3:08 PMzackster
04/24/2025, 3:09 PMzackster
04/24/2025, 3:20 PMzackster
04/24/2025, 3:21 PMbdw429s
04/24/2025, 5:23 PMinstance.foo = "bar"
in the day to pretend they were java devs or something. But it was just variables.instance.foo all along.