All of the functions (or many of them, at least) that are included in the different component files (select.inc, etc) begin with an underscore. Why did you choose to name those functions that way? I checked the drupal style guide and couldn't find anything on it. Is that just a webform convention, or is it drupal-wide convention?

Comments

quicksketch’s picture

The underscore means that it is a "private" function, one that shouldn't be called from other modules. Prefixing functions with underscores is a common naming convention in Drupal to prevent accidentally matching a hook name.

ldweeks’s picture

Status: Active » Closed (fixed)

Awesome. As long as you don't object, I'll go ahead and add your explanation here.

Thanks. Marking as "closed (fixed)".