API17:JArrayHelper::getColumn
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JArrayHelper::getColumn
Description
Extracts a column from an array of arrays or objects.
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 (line 172)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JArrayHelper::getColumn
Examples
<CodeExamplesForm />
