Actions

API17

Difference between revisions of "JArrayHelper::getColumn"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JArrayHelper::getColumn/11.1 to API17:JArrayHelper::getColumn without leaving a redirect: Robot: Moved page)

Revision as of 13:42, 10 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 JArrayHelper::getColumn

Description

Extracts a column from an array of arrays or objects.

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

SeeAlso:JArrayHelper::getColumn [Edit See Also]

User contributed notes

<CodeExamplesForm />