library/Services/ShopObjectConstructor/Constructor/oxListConstructor.php
protected function _getObjectFieldValues($object)
    {
        $result = array();
        $fields = $object->getFieldNames();
        $tableName = $object->getCoreTableName();
        foreach ($fields as $field) {
            $fieldName = $tableName.'__'.$field;
            $result[$field] = $object->$fieldName->value;
        }

        return $result;
    }
protected function _getObjectFieldValues($object)
    {
        $result = array();
        $fields = $object->getFieldNames();
        $tableName = $object->getCoreTableName();
        foreach ($fields as $field) {
            $fieldName = $tableName.'__'.$field;
            $result[$field] = $object->$fieldName->value;
        }

        return $result;
    }
protected function _getObjectFieldValues ( $ object ) { $ result = array ( ) ; $ fields = $ object -> getFieldNames ( ) ; $ tableName = $ object -> getCoreTableName ( ) ; foreach ( $ fields as $ field ) { $ fieldName = $ tableName . '__' . $ field ; $ result [ $ field ] = $ object -> $ fieldName -> value ; } return $ result ; }
Returns object field values

@param \OxidEsales\Eshop\Core\Model\BaseModel|object $object

@return array
Returns object field values