API17

JArrayHelper::getColumn

From Joomla! Documentation

Revision as of 14:42, 10 May 2013 by JoomlaWikiBot (talk | contribs) (JoomlaWikiBot moved page JArrayHelper::getColumn/11.1 to API17:JArrayHelper::getColumn without leaving a redirect: Robot: Moved page)

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JArrayHelper::getColumn[edit]

Description[edit]

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[edit]

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

User contributed notes[edit]

<CodeExamplesForm />