API15

JArrayHelper

From Joomla! Documentation

Revision as of 17:25, 22 March 2010 by Doxiki (talk | contribs) (New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JArrayHelper}} ===Defined in...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "API15" 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.

[Edit Descripton] Template:Description:JArrayHelper

Defined in[edit]

libraries/joomla/utilities/arrayhelper.php

Methods[edit]

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

Importing[edit]

jimport( 'joomla.utilities.arrayhelper' );

[Edit See Also] Template:SeeAlso:JArrayHelper

Examples[edit]

<CodeExamplesForm />