Actions

API17

Difference between revisions of "JArrayHelper::fromObject"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 40: Line 40:
 
array The array mapped from the given object
 
array The array mapped from the given object
 
===Defined in===
 
===Defined in===
libraries/joomla/utilities/arrayhelper.php
+
libraries/joomla/utilities/arrayhelper.php (line 105)
 +
* see source code in [[jplatform:utilities/arrayhelper.php#cl-105|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 19:55, 23 April 2011

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

Description

Utility function to map an object to an array.

Description:JArrayHelper::fromObject [Edit Descripton]

Since

Joomla 11.1

Synopsis

public static JArrayHelper::fromObject ($p_obj, $recurse=true, $regex=null)
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 in

libraries/joomla/utilities/arrayhelper.php (line 105)

Referenced by

See also

[Edit See Also]

SeeAlso:JArrayHelper::fromObject

Examples

<CodeExamplesForm />