Import the given item(s) into this WireArray.
- Adds imported items to the end of the WireArray.
- Skips over any items already present in the WireArray (when duplicateChecking is enabled)
Usage
$wireArray->import($items);
Arguments
Name | Type(s) | Description |
---|---|---|
items | array, WireArray | Items to import. |
Return value
$this
Object instance it was called from (method supports fluent interface).
Exceptions
Method can throw exceptions on error:
WireException
- If given items not compatible with the WireArray
WireArray methods and properties
API reference based on ProcessWire core version 3.0.236