1

I'm trying to figure out what the function of "Add Single Table Model" is in the SILK Magento Module Generator. I see it ads a table in admin, but is this table for anything specifically or can I display any data I want? Where is this data stored?

1 Answer 1

2

If the "table" is a grid, then yes, you can display any data you want. There is a _prepareCollection and a _prepareLayout method in the block, the collection method is to prepare the collection (haha) join all the tables together and select the columns you want. The layout method is about adding the columns from the select statement into the grid, defined what type they have to filter them, etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.