API17

API17:JArrayHelper::getColumn

From Joomla! Documentation

Revision as of 22:55, 20 April 2011 by Doxiki2 (talk | contribs) (Bulk upload by Doxiki2)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Joomla 11.1 JArrayHelper::getColumn

Description

Extracts a column from an array of arrays or objects.

Template:Description:JArrayHelper::getColumn [Edit Descripton]

Since

Joomla 11.1

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

[Edit See Also]

Template:SeeAlso:JArrayHelper::getColumn

Examples

<CodeExamplesForm />