Actions

API17

Difference between revisions of "JArrayHelper"

From Joomla! Documentation

m (User contributed notes: moving preparation)
m (moving preparation)
 
Line 14: Line 14:
 
|-
 
|-
 
|public static  
 
|public static  
|[[JArrayHelper::_sortObjects/11.1|_sortObjects]]
+
|[[API17:JArrayHelper::_sortObjects|_sortObjects]]
 
|Private callback function for sorting an array of objects on a key.  
 
|Private callback function for sorting an array of objects on a key.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JArrayHelper::fromObject/11.1|fromObject]]
+
|[[API17:JArrayHelper::fromObject|fromObject]]
 
|Utility function to map an object to an array.  
 
|Utility function to map an object to an array.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JArrayHelper::getColumn/11.1|getColumn]]
+
|[[API17:JArrayHelper::getColumn|getColumn]]
 
|Extracts a column from an array of arrays or objects.  
 
|Extracts a column from an array of arrays or objects.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JArrayHelper::getValue/11.1|getValue]]
+
|[[API17:JArrayHelper::getValue|getValue]]
 
|Utility function to return a value from a named array or a specified default.  
 
|Utility function to return a value from a named array or a specified default.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JArrayHelper::isAssociative/11.1|isAssociative]]
+
|[[API17:JArrayHelper::isAssociative|isAssociative]]
 
|Method to determine if an array is an associative array.  
 
|Method to determine if an array is an associative array.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JArrayHelper::sortObjects/11.1|sortObjects]]
+
|[[API17:JArrayHelper::sortObjects|sortObjects]]
 
|Utility function to sort an array of objects on a given field.  
 
|Utility function to sort an array of objects on a given field.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JArrayHelper::toInteger/11.1|toInteger]]
+
|[[API17:JArrayHelper::toInteger|toInteger]]
 
|Function to convert array to integer values.  
 
|Function to convert array to integer values.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JArrayHelper::toObject/11.1|toObject]]
+
|[[API17:JArrayHelper::toObject|toObject]]
 
|Utility function to map an array to a stdClass object.  
 
|Utility function to map an array to a stdClass object.  
 
|-
 
|-
 
|public static  
 
|public static  
|[[JArrayHelper::toString/11.1|toString]]
+
|[[API17:JArrayHelper::toString|toString]]
 
|
 
|
 
|-
 
|-
Line 55: Line 55:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JArrayHelper source code''' on [[jplatform:utilities/arrayhelper.php|BitBucket]]
 
* {{JVer|11.1}} '''JArrayHelper source code''' on [[jplatform:utilities/arrayhelper.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage Utilities/11.1|Utilities]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Utilities|Utilities]]
* [[JArrayHelper|Other versions of JArrayHelper]]
+
* [[API17:JArrayHelper|Other versions of JArrayHelper]]
 
{{SeeAlso:JArrayHelper}}
 
{{SeeAlso:JArrayHelper}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">

Latest revision as of 19:44, 11 May 2013

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.

Joomla 11.1 JArrayHelper

Description

Description:JArrayHelper [Edit Descripton]

Methods

Visibility Method name Description
public static _sortObjects Private callback function for sorting an array of objects on a key.
public static fromObject Utility function to map an object to an array.
public static getColumn Extracts a column from an array of arrays or objects.
public static getValue Utility function to return a value from a named array or a specified default.
public static isAssociative Method to determine if an array is an associative array.
public static sortObjects Utility function to sort an array of objects on a given field.
public static toInteger Function to convert array to integer values.
public static toObject Utility function to map an array to a stdClass object.
public static toString
  • Defined in libraries/joomla/utilities/arrayhelper.php

Importing

jimport( 'joomla.utilities.arrayhelper' );

See also

  • Joomla 11.1 JArrayHelper source code on BitBucket
  • Joomla 11.1 Subpackage Utilities
  • Other versions of JArrayHelper

SeeAlso:JArrayHelper [Edit See Also]

User contributed notes

<CodeExamplesForm />