Module interface
The user interface is described based on the "Volt: Template Engine".
Add editable table
The first step is to add a description of the table to *Controller.php class:
In function "getTablesDescription" add a description of the table:
"QuestionsQuality" - name of the model class
"question" - name of the property described in the model
"priority" - the name of the property described in the model opens the possibility to change the order of lines in the module interface
"delButton" - service field, adds the"delete" button
"icon" - service field, adds an icon to the beginning of the row
Edit the index.volt file:
Need add:
Need replace "Questions Quality" with the name of the model class.
Go to the web interface of the module. The table will be displayed
Last updated