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
429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 | */ 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. |