WireArray::get()
Returns the value of the item at the given index, or null if not set.
You may also specify a selector, in which case this method will return the same result as the WireArray::findOne()
method. See the $key argument description for more details on what can be provided.
Usage
$wireData = $wireArray->get($key);
Arguments
Name | Type(s) | Description |
---|---|---|
$key | int string array | Provide any of the following:
|
Return value
Exceptions
Method can throw exceptions on error:
WireException
WireArray methods and properties
API reference based on ProcessWire core version 3.0.251