create()
create(string $name, array $field) : \Pop\Form\Element\AbstractElement
Static factory method to create a field element object from a field config array
Parameters
| string | $name | |
| array | $field |
Throws
- \Pop\Form\Exception
Form fields config class
create(string $name, array $field) : \Pop\Form\Element\AbstractElement
Static factory method to create a field element object from a field config array
| string | $name | |
| array | $field |
getConfigFromTable(array $tableInfo, array $attribs = null, array $config = null, mixed $omit = null) : array
Static factory method to get field configs from a database table
| array | $tableInfo | |
| array | $attribs | |
| array | $config | |
| mixed | $omit |