WireArray::setArray()

Like set() but accepts an array or WireArray to set multiple values at once

Usage

$wireArray->setArray($data);

Arguments

NameType(s)Description
$dataarray 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.251