Actions

API17

Difference between revisions of "JArrayHelper::getColumn"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 35: Line 35:
 
array Column of values from the source array
 
array Column of values from the source array
 
===Defined in===
 
===Defined in===
libraries/joomla/utilities/arrayhelper.php
+
libraries/joomla/utilities/arrayhelper.php (line 172)
 +
* see source code in [[jplatform:utilities/arrayhelper.php#cl-172|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 19:55, 23 April 2011

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]

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 (line 172)

Referenced by

See also

[Edit See Also]

SeeAlso:JArrayHelper::getColumn

Examples

<CodeExamplesForm />