Actions

API15

Difference between revisions of "JArrayHelper"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JArrayHelper}} ===Defined in...)
 
 
Line 33: Line 33:
 
|
 
|
 
|}
 
|}
 +
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.utilities.arrayhelper' );</source>
 
<source lang="php">jimport( 'joomla.utilities.arrayhelper' );</source>

Latest revision as of 12:40, 25 March 2010

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.

[Edit Descripton] Description:JArrayHelper

Contents

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.
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

jimport( 'joomla.utilities.arrayhelper' );

[Edit See Also] SeeAlso:JArrayHelper

Examples

<CodeExamplesForm />