JArrayHelper::toObject: Difference between revisions
From Joomla! Documentation
m JoomlaWikiBot moved page JArrayHelper::toObject/11.1 to API17:JArrayHelper::toObject without leaving a redirect: Robot: Moved page |
m →User contributed notes: moving preparation |
||
| Line 57: | Line 57: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Revision as of 15:03, 11 May 2013
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

- Referenced by
See also
JArrayHelper::toObject source code on BitBucket
Class JArrayHelper
Subpackage Utilities- Other versions of JArrayHelper::toObject
Template:SeeAlso:JArrayHelper::toObject [Edit See Also]
User contributed notes
<CodeExamplesForm />