JArrayHelper::_fromObject
Utility function to map an object or array to an array
Signature
protected function _fromObject(mixed
$item,
boolean
$recurse,
string
$regex )
Parameters
-
$item
- The source object or array
-
$recurse
- True to recurse through multi-level objects
-
$regex
- An optional regular expression to match on field names
Returns
- array
- The array mapped from the given object