InputfieldWrapper::getAll()

Get all Inputfields below this recursively in a flat InputfieldWrapper (children, and their children, etc.)

Note that all InputfieldWrapper instances are removed as a result (except for the containing InputfieldWrapper).

Usage

// basic usage
$items = $inputfieldWrapper->getAll();

// usage with all arguments
$items = $inputfieldWrapper->getAll(array $options = []);

Arguments

NameType(s)Description
$options (optional)array

Options to modify behavior 3.0.169+

  • withWrappers (bool): Also include InputfieldWrapper objects? Default:false 3.0.169+

Return value


InputfieldWrapper methods and properties

API reference based on ProcessWire core version 3.0.251