X-Cart:Coding conventions

From X-Cart 4 Classic
Jump to: navigation, search

Whitespace etc.

Indenting and alignment

Line continuation

Spaces

Braceless control structures

Logical structure

2.1 Assignment expressions

Ternary operator

String literals

C borrowings

PHP pitfalls

Naming

Functions

Variables

Extension Functions and Variables

HTTP and session stuff

Database

Common local variables

Inline documentation

Messages