[development] Drupal 6.2 theme system standalone

Eric-Alexander Schaefer eric.schaefer at eas-consulting.de
Sat Jun 14 12:56:58 UTC 2008


Bob Pepin schrieb:
> 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 ;)

Every programming language that allows you to name your functions and 
variables arbitrarily supports namespaces.

$YOUR_NAMESPACE_your_valiable
YOUR_NAMESPACE_your_function()
_YOUR_NAMESPACE_your_private_function()

HTH,
Eric


More information about the development mailing list