Is the given item key valid for use in this array?
Template method that descendant classes may use to validate the key of items added to this WireArray
Usage
$selectableOptionArray->isValidKey($key);
Arguments
Name | Type(s) | Description |
---|---|---|
key | string, int | Key to test |
Return value
bool
True if key is valid and may be used, false if not
SelectableOptionArray methods and properties
API reference based on ProcessWire core version 3.0.236