Convert given value to form name if is isn’t already
Usage
// basic usage
$int = $formBuilderMain->formName($formName);
// usage with all arguments
$int = $formBuilderMain->formName($formName, bool $throw = true);
Arguments
Name | Type(s) | Description |
---|---|---|
formName | int, string, FormBuilderForm, InputfieldForm | |
throw (optional) | bool | Throw exception if cannot resolve to form name or does not exist? (default=true) |
Return value
int
FormBuilderMain methods and properties
API reference based on ProcessWire core version 3.0.236