[development] $node namespace woes -- can we fix this in D6?

Moshe Weitzman weitzman at tejasa.com
Wed May 30 01:23:32 UTC 2007


> i could always just hack project* to always prefix everything it tries 
> to stuff into or read from $node with some kind of custom variable name 
> prefix, like calling this "$node->project_issue_pid" instead of just 
> "$node->pid".

thata the drupal convention, and IMO it works quite well. Contrib 
modules are second class citizens and should always prefix their 
variables, form fields, node elements, etc. this system works very well, 
  when you use it.


More information about the development mailing list