\CodeBankConfig
Synopsis
class CodeBankConfig
extends DataObject
{
- // members
- private static array $db = ;
- protected static $_currentConfig;
- // methods
- public {bool} canView()
- public {bool} canEdit()
- public {bool} canDelete()
- public {bool} canCreate()
- public void requireDefaultRecords()
- public static {CodeBankConfig} CurrentConfig()
- public {FieldList} getCMSFields()
Hierarchy
Extends
- DataObject
Members
private
- $db
protected
- $_currentConfig
Methods
public
- CurrentConfig() — Gets the current config
- canCreate() — Checks to see if the member can create or not
- canDelete() — Checks to see if the member can delete or not
- canEdit() — Checks to see if the member can edit or not
- canView() — Checks to see if the member can view or not
- getCMSFields() — Gets fields used in the cms
- requireDefaultRecords() — Creates the default code bank config