Coding Standards

From ARK
Revision as of 15:55, 4 June 2007 by Guy (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The ARK coding standards follow the PEAR coding standards for PHP code. The PEAR documentation is pretty complete and should be consulted in the first instance.

Common errors and things to watch out for:

  • Use a space after operators but not after function calls
 function(call);
 if (operator) {