Actions

API17

JArrayHelper

From Joomla! Documentation

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