API17

JArrayHelper::toObject: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Updated to r1448:247ba8d88526
m JoomlaWikiBot moved page JArrayHelper::toObject/11.1 to API17:JArrayHelper::toObject without leaving a redirect: Robot: Moved page
(No difference)

Revision as of 19:43, 10 May 2013

Joomla 11.1 JArrayHelper::toObject

Description

Utility function to map an array to a stdClass object.

Template:Description:JArrayHelper::toObject [Edit Descripton]

public static function toObject (
        &$array
        $class= 'stdClass'
)
Parameter Type Default Description
&$array array $array The array to map.
$class string 'stdClass' Name of the class to create
  • Returns object The object mapped from the given array
  • Defined on line 58 of libraries/joomla/utilities/arrayhelper.php
  • Since Joomla 11.1
  • Referenced by

See also

Template:SeeAlso:JArrayHelper::toObject [Edit See Also]

User contributed notes

<CodeExamplesForm />