Special cases for specified fields
Closed this issue · 1 comments
rougin commented
When generating code from database tables, Combustor can also generate a dropdown field for the following fields:
- gender
- male
- female
- marital_status
- single
- married
- widowed
- seperated
- divorced
rougin commented
Will proceed to close this issue as this is now not part of the latest stable release. However, adding special fields is now possible using the Colfield
class and specifying it to combustor.yml
:
# combustor.yml
# ...
custom_fields:
- Acme\Fields\GenderField
- Acme\Fields\MaritalField