Get all field names
Available since version 3.0.194.
Usage
// basic usage
$array = $fields->getAllNames();
// usage with all arguments
$array = $fields->getAllNames(string $indexType = '');
Arguments
Name | Type(s) | Description |
---|---|---|
indexType (optional) | string | One of 'name', 'id' or blank string for no index (default='') |
Return value
array
$fields methods and properties
API reference based on ProcessWire core version 3.0.236