API17:JArrayHelper:: sortObjects
From Joomla! Documentation
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.
JArrayHelper::_sortObjects
Description
Private callback function for sorting an array of objects on a key.
Description:JArrayHelper:: sortObjects [Edit Descripton]
Since
Synopsis
public static JArrayHelper::_sortObjects (&$a, &$b)
| Parameter | Type | Default | Description |
|---|---|---|---|
| &$a | array | $a An array of objects | |
| &$b | array | $b An array of objects |
Returns
int Comparison status
Defined in
libraries/joomla/utilities/arrayhelper.php (line 322)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JArrayHelper:: sortObjects
Examples
<CodeExamplesForm />
