Is there a way to access functions through inheritance without setting function access to public?
For example: I have Foo.cfc and it extends Bar.cfc. If I want to call a Bar.cfc function from Foo.cfc, I have to set the function access to public.
If I set the function access to private, then it’s only accessible from Foo.cfc. Is there no “intermediate” access level that is not quite public but not strictly private? i.e. it allows access through inheritance only…
Are you using the keyword
super? Because private methods should be available to sub components like Foo.cfc.Foo.cfc