LLMS_Table_Quizzes::set_columns()
Define the structure of the table
Contents
Return Return
(array)
Source Source
File: includes/admin/reporting/tables/llms.table.quizzes.php
*/ protected function set_columns() { return array( 'id' => array( 'exportable' => true, 'title' => __( 'ID', 'lifterlms' ), 'sortable' => true, ), 'title' => array( 'exportable' => true, 'title' => __( 'Title', 'lifterlms' ), 'sortable' => true, ), 'course' => array( 'exportable' => true, 'title' => __( 'Course', 'lifterlms' ), 'sortable' => false, ), 'lesson' => array( 'exportable' => true, 'title' => __( 'Lesson', 'lifterlms' ), 'sortable' => false, ), 'attempts' => array( 'exportable' => true, 'title' => __( 'Total Attempts', 'lifterlms' ), 'sortable' => false, ), 'average' => array( 'exportable' => true, 'title' => __( 'Average Grade', 'lifterlms' ), 'sortable' => false, ), 'actions' => array( 'exportable' => false, 'title' => __( 'Actions', 'lifterlms' ), 'sortable' => false, ), );
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.37.8 | Added the 'actions' column. |
3.37.12 | Fixed the 'actions' column name. |
3.16.10 | Unknown. |
3.16.0 | Introduced. |