Return a plain array of the requested property from each item
You may provide an array of properties as the $property, in which case it will return an array of associative arrays with all requested properties for each item.
You may also provide a function as the $property. That function receives the $item as the first argument and $key as the second. It should return the value that will be stored.
The keys of the returned array remain consistent with the original WireArray.
// basic usage $array = $wireArray->explode(); // usage with all arguments $array = $wireArray->explode($property = '', array $options = );
|string, callable, array|
Property or properties to retrieve, or callable function that should receive items.
Options to modify default behavior:
WireArray methods and properties
API reference based on ProcessWire core version 3.0.214