FormBuilderProcessor::saveFlagsLabels()
Get array (or csv string) of text labels for given saveFlags
Usage
// basic usage
$array = FormBuilderProcessor::saveFlagsLabels();
// usage with all arguments
$array = FormBuilderProcessor::saveFlagsLabels($saveFlags = null, bool $getString = false);Arguments
| Name | Type(s) | Description |
|---|---|---|
$saveFlags (optional) | int null | Flags value or omit (or null) to return all. Default:null |
$getString (optional) | bool | Get a CSV string rather than array? Default:false |
Return value
array stringWhen returning an array, it is indexed by saveFlag
$processor methods and properties
API reference based on ProcessWire core version 3.0.252