mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
Updated e107 Coding Standard (markdown)
@@ -60,7 +60,7 @@ Where numeric values represent a particular status, define a constant for that v
|
||||
|
||||
## Classes, Methods and Functions.
|
||||
|
||||
Class names must must use **lowercase** and use an **underscore** (_) if necessary. The corresponding file should use the same name and casing.
|
||||
Class names must use **lowercase** and may use an **underscore** (_) to separate words. The corresponding file should use the same name and casing. (see below)
|
||||
|
||||
Method/Function names should use **camelCase** unless they are shortcodes (eg. _sc_news_image()_) or methods within **e_admin_form_ui** in which case they should use **lowercase** to match the database field name.
|
||||
|
||||
|
Reference in New Issue
Block a user