Fields
in package
Form fields config class
Tags
Table of Contents
Methods
- create() : AbstractElement
- Static factory method to create a field element object from a field config array
- getConfigFromTable() : array<string|int, mixed>
- Static factory method to get field configs from a database table
Methods
create()
Static factory method to create a field element object from a field config array
public
static create(string $name, array<string|int, mixed> $field) : AbstractElement
Parameters
- $name : string
- $field : array<string|int, mixed>
Tags
Return values
AbstractElementgetConfigFromTable()
Static factory method to get field configs from a database table
public
static getConfigFromTable(array<string|int, mixed> $tableInfo[, array<string|int, mixed>|null $attribs = null ][, array<string|int, mixed>|null $config = null ][, mixed $omit = null ]) : array<string|int, mixed>
Parameters
- $tableInfo : array<string|int, mixed>
- $attribs : array<string|int, mixed>|null = null
- $config : array<string|int, mixed>|null = null
- $omit : mixed = null