Controlling the Views return object data from AMFPHP
| Project: | AMFPHP |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Hi,
Quick question:
I am calling a View back as fields and then pulling the data from the returnObject.
Because I am using fields the object is returning the name of the first field in the string followed by the CCK field names:
eg: node_data_field_headline_1_field_headline_1_value
eg: node_data_field_headline_1_field_storyurl_1_value
field_headline_1 is the first field in the View Field list and it has become a prefix for everything.
It is a kind of duplicate entry.
I would like:
eg: node_data_field_headline_1_value
eg: node_data_field_storyurl_1_value
or
eg: node_data_title_field_headline_1_value
eg: node_data_title_field_storyurl_1_value
Is there a way to modify the way Views returns the object? Or force it to use a different value as the prefix?
Thanks.
