CodingStandards » History » Version 3

« Previous - Version 3/64 (diff) - Next » - Current version
jmd, 08/19/2006 12:26 AM


Indentation

One tabulation

{{{
// base level
// level 1
// level 2
// level 1
// base level
?>
}}}

Control structures Including files

require_once ?
include_once ?

PHP tags

Short tag not allowed. Use complet tags.

{{{

// code

?>
}}}

Functions

Function names should be written in camelBack, for example:

{{{
function userName() {
}
?>
}}

Class Variables Files

Lower case

Constants

Capital letter :

{{{
COMPUTER_TYPE
}}}