Actions

API17

JArrayHelper::toObject

From Joomla! Documentation

Revision as of 17:55, 20 April 2011 by Doxiki2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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::toObject

Description

Utility function to map an array to a stdClass object.

Description:JArrayHelper::toObject [Edit Descripton]

Since

Joomla 11.1

Synopsis

public static JArrayHelper::toObject (&$array, $class= 'stdClass')
Parameter Type Default Description
&$array array $array The array to map.
$class string 'stdClass' $calss Name of the class to create

Returns

object The object mapped from the given array

Defined in

libraries/joomla/utilities/arrayhelper.php

Referenced by

See also

[Edit See Also]

SeeAlso:JArrayHelper::toObject

Examples

<CodeExamplesForm />