1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

Updated e107 Coding Standard (markdown)

Cameron
2020-05-25 12:10:41 -07:00
parent 83daa7c807
commit 26bd5b80f8

@@ -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.