Most Powerful Open Source ERP

Guideline Listbox Method Is Named Using Module Type And Portal Type List

For consistent naming in forms.
  • Last Update:2017-04-06
  • Version:001
  • Language:en

Listbox Method Is Named Using Module Type And Portal Type List

List methods have the form ModuleType_getPortalTypeList (Script) or ModuleType_zGetPortalTypeList (Z SQL Method).

Count methods have the form ModuleType_countPortalTypeList (Script) or ModuleType_zCountPortalTypeList (Z SQL Method).

Stat methods have the form ModuleType_statPortalTypeList (Script) or ModuleType_zStatPortalTypeList (Z SQL Method).

Good Example:

Bad Example: