FormBuilderField::add() FormBuilderField::add(FormBuilderField $child) FormBuilderField::add(FormBuilderField $child) | $this | Add a new child to this form/field | |
FormBuilderField::allFields() FormBuilderField::allFields() FormBuilderField::allFields($value = null) | array FormBuilderField null | Check if field present in allFields or add field to it | |
FormBuilderField::child() FormBuilderField::child(string $name) FormBuilderField::child(string $name) | FormBuilderField null | Return the direct child given by $name | |
FormBuilderField::children() FormBuilderField::children() FormBuilderField::children() | array | Return array of all children Can also be used as property: FormBuilderField::children | |
FormBuilderField::columnWidth | int | | |
FormBuilderField::defaultValue | string | | |
FormBuilderField::description | string | | |
FormBuilderField::fbForm() FormBuilderField::fbForm() FormBuilderField::fbForm() | FormBuilderForm null | @return FormBuilderForm|null | |
FormBuilderField::find() FormBuilderField::find(string $name) FormBuilderField::find(string $name) | FormBuilderField null | Recursively find the field named $name (alias of getFieldByName) | |
FormBuilderField::findAll() FormBuilderField::findAll() FormBuilderField::findAll(array $options = []) | array | Get contents of the self::$allFields property containing all addded fields at runtime | |
FormBuilderField::form | FormBuilderForm | | |
FormBuilderField::formName | string | | |
FormBuilderField::get() FormBuilderField::get(string $key) FormBuilderField::get(string $key) | mixed | Get a value from this form field | |
FormBuilderField::getArray() FormBuilderField::getArray() FormBuilderField::getArray() | array | Return an array representing this field and children (when present) | |
FormBuilderField::getChildrenFlat() FormBuilderField::getChildrenFlat() FormBuilderField::getChildrenFlat(array $options = []) | array | Return a flattened (non structured) array of all children | |
FormBuilderField::getDefaultsArray() FormBuilderField::getDefaultsArray() FormBuilderField::getDefaultsArray() | array | Get default settings for a blank FormBuilderField object | |
FormBuilderField::getFieldByName() FormBuilderField::getFieldByName(string $name) FormBuilderField::getFieldByName(string $name) | FormBuilderField null | Get a field by name, within entire form | |
FormBuilderField::getInputfield() FormBuilderField::getInputfield() FormBuilderField::getInputfield(array $options = []) | Inputfield | Get new Inputfield for this FormBuilderField (for public API usage) | |
FormBuilderField::getSetting() FormBuilderField::getSetting(string $key) FormBuilderField::getSetting(string $key) | mixed null | Get a setting only, no fallback to getting field by name | |
FormBuilderField::head | string | | |
FormBuilderField::label | string | | |
FormBuilderField::level | int | | |
FormBuilderField::name | string | | |
FormBuilderField::notes | string | | |
FormBuilderField::numChildren | int | | |
FormBuilderField::parent | FormBuilderField null | | |
FormBuilderField::prevParent | FormBuilderField null | Temporary property used after field is removed only | |
FormBuilderField::remove() FormBuilderField::remove($key) FormBuilderField::remove($key) | FormBuilderData this | Remove the given child from this form/field | |
FormBuilderField::required | bool | | |
FormBuilderField::requiredIf | string | | |
FormBuilderField::set() FormBuilderField::set(string $key, mixed $value) FormBuilderField::set(string $key, mixed $value) | FormBuilderData this | Set a value to the field | |
FormBuilderField::setArray() FormBuilderField::setArray(array $data) FormBuilderField::setArray(array $data) | (nothing) | Given an array of data, populate the data to this form field | |
FormBuilderField::setName() FormBuilderField::setName(string $name) FormBuilderField::setName(string $name) | FormBuilderData | Set field name | |
FormBuilderField::showIf | string | | |
FormBuilderField::type | string | | |