Using THIS VS. A function to return private VARIABLES scope vars VS. miscellaneous accessor
I have a component that has variables set into it's component-private VARIABLES scope, however some other components need access to read some of those variables (but not set anything)
Is it better to:
(1) just move those variables into the THIS scope of the component so they are available to other components
(2) create a function in it that takes a variable name as an argument and returns the associated VARIABLES-scoped variable value, or
(3) is there a different, better coding method out there that I'm not familiar with?
Currently I'm doing the second thing, and it works, but I have a feeling that CF has a better way of doing this or there is a better coding practice.
