Like set() but accepts an array or WireArray to set multiple values at once
Usage
$wireArray->setArray($data);
Arguments
Name | Type(s) | Description |
---|---|---|
data | array, WireArray | Array or WireArray of data that you want to set. |
Return value
$this
Object instance it was called from (method supports fluent interface).
WireArray methods and properties
API reference based on ProcessWire core version 3.0.236