Thanks for your reply, Weedpacket...
...thanks for 'CLASS' -- using it with the function worked like a charm!
Because it is a global constant, you DON'T use it as the argument. Use it directly inside of the function. There is no need to have an argument.
I couldn't get 'get_class($this)' as the argument in the function to work. I found out why - I needed to move the statements relating to the class to a different location in order to have access to the namespace.
When using the 'if' without using the function, in order to get the boolean value, I just picked 'is_null($a)' where '$a' is an arbitrary var that will be set '=NULL' or '=0' depending on the value of 'CLASS'.
But since using the function is much cleaner and nicer using 'CLASS', I settled on it. All I needed was the 'return true'!!!
I didn't know about 'CLASS' and will use it from now on.
To answer your question:
The code above is being used outside of the class and in a file that stores vars and related authorization type routines. The class already exists and I don't want to revise the code. I only want to call it. Since multiple routines use it during the execution of the script, I need a way to isolate it from the other routines at a particular instance.
If you have more feedback, it's always welcome. If not, I can mark this thread '[RESOLVED]'.
Thanks again.
EDIT: Corrected