Traits
Table of Contents
Traits
- ArrayFormatTrait
- 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.
- SqlSpecTrait
- If a field is specifically stored in the database, then use SqlSpecTrait to describe how to read/write the field.