AbstractTrait
| Methods |
| public addField( $field) Add a field to the block/attachment.
|
| public clearFields() Clear the fields for the block/attachment.
|
| public getFields() Get the fields for the block/attachment.
|
| public setFields(array $fields) Set the fields for the block/attachment.
|
| Properties |
| protected $fields = [] The fields of the block/attachment.
|
| Methods |
| protected abstract getFieldClass() Get the class name of valid fields.
|
| protected getFieldsAsArrays() Iterates over all fields in this block/attachment and returns them in their array form.
|