LLMS_Table_Student_Course::get_results( array $args = array() )
Execute a query to retrieve results from the table
Parameters Parameters
- $args
-
(array) (Optional) array of query args
Default value: array()
Return Return
(void)
Source Source
File: includes/admin/reporting/tables/llms.table.student.course.php
public function get_results( $args = array() ) { $course = new LLMS_Course( absint( $args['course_id'] ) ); if ( is_numeric( $args['student'] ) ) { $args['student'] = new LLMS_Student( $args['student'] ); } $this->student = $args['student']; $this->tbody_data = $course->get_lessons(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |