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()
Return Return
(void)
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(); } |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.2.0 | Introduced. |