API17:JArrayHelper
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.
[Edit Descripton] Description:JArrayHelper
Defined in
libraries/joomla/utilities/arrayhelper.php
- see source code in BitBucket
Subpackage
Extends
Extended by
Methods
| Method name | Description |
|---|---|
| _sortObjects | Private callback function for sorting an array of objects on a key. |
| fromObject | Utility function to map an object to an array. |
| getColumn | Extracts a column from an array of arrays or objects. |
| getValue | Utility function to return a value from a named array or a specified default. |
| isAssociative | Method to determine if an array is an associative array. |
| sortObjects | Utility function to sort an array of objects on a given field. |
| toInteger | Function to convert array to integer values. |
| toObject | Utility function to map an array to a stdClass object. |
| toString |
Importing
jimport( 'joomla.utilities.arrayhelper' );
See also
- JArrayHelper source code in BitBucket
- Other versions of this class
SeeAlso:JArrayHelper [Edit See Also]
Examples
<CodeExamplesForm />
