TableNode::getRowsHash() returns first column only #40

Closed
fritz-gerneth opened this Issue Nov 8, 2012 · 0 comments

Projects

None yet

2 participants

@fritz-gerneth

Assuming I have the following table:

| email  | test@test.de | test2@test.de |
| name   | name 1       | name12        |
| phone  | 0800         | 0900          |

I have no way to iterate over the data columns. getRowsHash() takes into account the first data-column only (using fixed indexes).

As getHash() returns the data for all rows I'd suggest that getRowsHash() returns the data for all columns as well as a nested array of the same structure. As this would be a BC break an alternative would be to introduce a new function doing so.

I'd provide a patch for this. Waiting for feedback first though.

@everzet everzet closed this in 6dd5f06 Jan 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment