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
$templatesArray->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
TemplatesArray methods and properties
API reference based on ProcessWire core version 3.0.236