LLMS_Table_Student_Memberships::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()


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/admin/reporting/tables/llms.table.student.memberships.php

82
83
84
85
86
87
88
89
90
91
92
93
94
public function get_results( $args = array() ) {
 
    $args = $this->clean_args( $args );
 
    if ( is_numeric( $args['student'] ) ) {
        $args['student'] = new LLMS_Student( $args['student'] );
    }
 
    $this->student = $args['student'];
 
    $this->tbody_data = $this->student->get_membership_levels();
 
}

Top ↑

Changelog Changelog

Changelog
Version Description
3.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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