Difference between revisions of "JArrayHelper::fromObject"

From Joomla! Documentation

m (JoomlaWikiBot moved page JArrayHelper::fromObject/11.1 to API17:JArrayHelper::fromObject without leaving a redirect: Robot: Moved page)
m (See also: moving preparation)
(One intermediate revision by the same user not shown)
Line 43: Line 43:
===See also===
===See also===
* {{JVer|11.1}} '''JArrayHelper::fromObject source code''' on [[jplatform:utilities/arrayhelper.php#cl-97|BitBucket]]
* {{JVer|11.1}} '''JArrayHelper::fromObject source code''' on [[jplatform:utilities/arrayhelper.php#cl-97|BitBucket]]
* {{JVer|11.1}} Class [[JArrayHelper/11.1|JArrayHelper]]
* {{JVer|11.1}} Class [[API17:JArrayHelper|JArrayHelper]]
* {{JVer|11.1}} Subpackage [[Subpackage_Utilities/11.1|Utilities]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]]
* [[JArrayHelper::fromObject|Other versions of JArrayHelper::fromObject]]
* [[API17:JArrayHelper::fromObject|Other versions of JArrayHelper::fromObject]]
<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
Line 61: Line 61:
format= ,,,
format= ,,,
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

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::fromObject


Utility function to map an object to an array.

Description:JArrayHelper::fromObject [Edit Descripton]

public static function fromObject (
Parameter Type Default Description
$p_obj object The source object
$recurse boolean true True to recurve through multi-level objects
$regex string null An optional regular expression to match on field names
  • Returns array The array mapped from the given object
  • Defined on line 105 of libraries/joomla/utilities/arrayhelper.php
  • Since Joomla 11.1

See also

SeeAlso:JArrayHelper::fromObject [Edit See Also]

User contributed notes

<CodeExamplesForm />