API17

JArrayHelper: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
Doxiki2 (talk | contribs)
Layout updates
Line 6: Line 6:
===Defined in===
===Defined in===
libraries/joomla/utilities/arrayhelper.php
libraries/joomla/utilities/arrayhelper.php
* see source code in [[jplatform:utilities/arrayhelper.php|BitBucket]]
===Subpackage===
===Subpackage===
[[Subpackage Utilities/11.1|Utilities]]
[[Subpackage Utilities/11.1|Utilities]]
Line 47: Line 48:
<source lang="php">jimport( 'joomla.utilities.arrayhelper' );</source>
<source lang="php">jimport( 'joomla.utilities.arrayhelper' );</source>
===See also===
===See also===
* JArrayHelper source code in [[jplatform:utilities/arrayhelper.php|BitBucket]]
* [[JArrayHelper|Other versions of this class]]
* [[JArrayHelper|Other versions of this class]]
{{SeeAlso:JArrayHelper}}
{{SeeAlso:JArrayHelper}}

Revision as of 22:49, 23 April 2011

[Edit Descripton] Template:Description:JArrayHelper

Defined in

libraries/joomla/utilities/arrayhelper.php

Subpackage

Utilities

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

Template:SeeAlso:JArrayHelper [Edit See Also]

Examples

<CodeExamplesForm />