LLMS_Table_Quiz_Attempts::set_columns()

Define the structure of the table


Description Description


Return Return

(array)


Top ↑

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;

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.16.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.





Permalink: