Per WireArray interface, Field instances are keyed by their ID
Usage
$int = $fieldsArray->getItemKey(Field $item);
Arguments
Name | Type(s) | Description |
---|---|---|
item | Field |
Return value
int
FieldsArray methods and properties
API reference based on ProcessWire core version 3.0.236