That's not strictly 100% accurate, since with real namespaces, the scope would be restricted; although for the purposes here, your suggestion would be practical.
Victor Kane
http://awebfactory.com.ar
Bob Pepin schrieb:Every programming language that allows you to name your functions and variables arbitrarily supports namespaces.
Well, since PHP does have neither namespaces nor modules (okay, you
can use classes as some kind of poor man's namespaces if you don't
mind writing ClassName::function() all the time), mistake #2 was
unavoidable ;)
$YOUR_NAMESPACE_your_valiable
YOUR_NAMESPACE_your_function()
_YOUR_NAMESPACE_your_private_function()
HTH,
Eric