WireArray::getValues() method

Returns a regular PHP array of all values used in this WireArray.

Unlike the WireArray::getArray() method, this does not attempt to maintain original keys of the items. The returned array is reindexed from 0.

Usage

$array = $wireArray->getValues();

Return value

array Wire

[] Values used in the WireArray.

See Also


WireArray methods and properties

API reference based on ProcessWire core version 3.0.244

“I am currently managing a ProcessWire site with 2 million+ pages. It’s admirably fast, and much, much faster than any other CMS we tested.” —Nickie, Web developer