Import the given Inputfield items as children
If given an InputfieldWrapper
, it will import the children of it and
exclude the wrapper itself. This is different from InputfieldWrapper::add()
in that add() would add the wrapper, not just the children. See also
the Inputfield
method.
Usage
$inputfieldWrapper->import($items);
Arguments
Name | Type(s) | Description |
---|---|---|
items | InputfieldWrapper, array, InputfieldsArray | Wrapper containing items to add |
Return value
$this
Object instance it was called from (method supports fluent interface).
Exceptions
Method can throw exceptions on error:
WireException
See Also
InputfieldWrapper methods and properties
API reference based on ProcessWire core version 3.0.236