API17

API17:JArrayHelper::getColumn

From Joomla! Documentation

Revision as of 01:10, 28 April 2011 by Doxiki2 (talk | contribs) (Updated to r1448:247ba8d88526)

Joomla 11.1 JArrayHelper::getColumn

Description

Extracts a column from an array of arrays or objects.

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

public static function 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 on line 172 of libraries/joomla/utilities/arrayhelper.php
  • Since Joomla 11.1

See also

Template:SeeAlso:JArrayHelper::getColumn [Edit See Also]

User contributed notes

<CodeExamplesForm />