LLMS_Table_Quiz_Attempts::set_columns()
Define the structure of the table
Return Return
(array)
Source Source
File: includes/admin/reporting/tables/llms.table.quiz.attempts.php
protected function set_columns() { $cols = array( 'id' => array( 'exportable' => true, 'title' => __( 'ID', 'lifterlms' ), 'sortable' => true, ), 'attempt' => array( 'exportable' => true, 'title' => __( 'Attempt #', 'lifterlms' ), 'sortable' => true, ), 'student' => array( 'exportable' => true, 'title' => __( 'Student', 'lifterlms' ), 'sortable' => false, ), 'grade' => array( 'filterable' => llms_get_quiz_attempt_statuses(), 'exportable' => true, 'title' => __( 'Grade', 'lifterlms' ), 'sortable' => true, ), 'start_date' => array( 'exportable' => true, 'title' => __( 'Start Date', 'lifterlms' ), 'sortable' => true, ), 'end_date' => array( 'exportable' => true, 'title' => __( 'End Date', 'lifterlms' ), 'sortable' => true, ), ); return $cols; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.0 | Introduced. |