CMObject::convertToArray
Parses a stdObject into a nested array recursively, in a format suitable for $this->record
Signature
protected function convertToArray(mixed
$data )
Parameters
$data
— mixed- Either an object or array with field values
Returns
- array
- The parsed data