Re: [fw-general] TableGateway query without result however the table contains data

2013-08-17 Thread Ilya Khanataev
Hi András, I don't know why, but it's true, dumping the result set, now data is shown. (Why?) Try to get the current item: $resultSet-current(); or iterate over the data foreach ($resultSet as $item) { echo $item-getFooBar() . PHP_EOL; } Do you get the data now? Am 16.08.2013

[fw-general] TableGateway query without result however the table contains data

2013-08-16 Thread András Csányi
Hi All, I implement the TableGateway pattern following the ZF2 tutorial and it is working fine, but the query does not give back any result despite the fact the table contains data. Matthew mentioned that in his email in another thread it could be due to not proper permissions. So, I have double