JArrayHelper::fromObject/1.5

From Joomla! Documentation
Jump to: navigation, search

Joomla 1.5 JArrayHelper::fromObject

Description

Utility function to map an object to an array.

Description:JArrayHelper::fromObject [Edit Descripton]

public function 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 on line 114 of libraries/joomla/utilities/arrayhelper.php
  • Since Joomla 1.5

See also

SeeAlso:JArrayHelper::fromObject [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox