Traits
Table of Contents
Traits
- ArrayFormatTrait
- BasicSpecTrait
- DataTypeSpecTrait
- Describe what values are allowed to be stored in this field.
- GuiSpecTrait
- If a field will be presented in GUIs (e.g. data-entry fields or
data-columns), then use GuiSpecTrait to describe its typical/default appearance.
- MagicGetterSetterTrait
- Automatically define getter/setter methods for public and protected fields.
- OptionsSpecTrait
- Describe what values are allowed to be stored in this field.
- PhpDataTypeSpecTrait
- Describe what values are allowed to be stored in this field.
- SqlSpecTrait
- If a field is specifically stored in the database, then use SqlSpecTrait
to describe how to read/write the field.