I am trying to create my own module for ZF2 based on the example from the documentation (Album module). Faced the problem that no records are displayed from my table. I can not understand at what specific place the name of the table with which we work is indicated.

The documentation writers did not take care of the newbies and called the controller, the model and the name of their table "album", so I have doubts whether I correctly changed the names to fit my module.

Who can tell the line number in which you need to specify the name of my table https://github.com/Hounddog/Album/blob/master/src/Album/Model/AlbumTable.php

    1 answer 1

    In the line return new TableGateway('album', $dbAdapter, null, $resultSetPrototype);