API17:JArrayHelper::getColumn
From Joomla! Documentation
JArrayHelper::getColumn
Description
Extracts a column from an array of arrays or objects.
Template:Description:JArrayHelper::getColumn [Edit Descripton]
Since
Synopsis
public static JArrayHelper::getColumn (&$array, $index)
| Parameter | Type | Default | Description |
|---|---|---|---|
| &$array | array | $array The source array | |
| $index | string | The index of the column or name of object property |
Returns
array Column of values from the source array
Defined in
libraries/joomla/utilities/arrayhelper.php
Referenced by
See also
Template:SeeAlso:JArrayHelper::getColumn
Examples
<CodeExamplesForm />