From 26bd5b80f889e31e15d29974f350b4ac8796dd56 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 25 May 2020 12:10:41 -0700 Subject: [PATCH] Updated e107 Coding Standard (markdown) --- e107-Coding-Standard.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107-Coding-Standard.md b/e107-Coding-Standard.md index 1e95dd2..31df103 100644 --- a/e107-Coding-Standard.md +++ b/e107-Coding-Standard.md @@ -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.