API16

API16:JArrayHelper

From Joomla! Documentation

Revision as of 13:39, 24 March 2017 by JoomlaWikiBot (talk | contribs) (clean up)

{{subst:Description:JArrayHelper}}

Defined in

libraries/joomla/utilities/arrayhelper.php

Methods

Method name Description
toInteger Function to convert array to integer values
toObject Utility function to map an array to a stdClass object.
toString
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
sortObjects Utility function to sort an array of objects on a given field

Importing

jimport( 'joomla.utilities.arrayhelper' );


{{subst:SeeAlso:JArrayHelper}}

Examples

<CodeExamplesForm />