Does this form have the given flag?
Available since version 0.4.0.
Usage
// basic usage
$int = $formBuilderForm->hasFlag(int $flag);
// usage with all arguments
$int = $formBuilderForm->hasFlag(int $flag, string $property = 'flags');
Arguments
Name | Type(s) | Description |
---|---|---|
flag | int | |
property (optional) | string |
Return value
int
FormBuilderForm methods and properties
API reference based on ProcessWire core version 3.0.244