LLMS_Admin_Reporting

Admin Reporting Base class


Description Description


Source Source

File: includes/admin/reporting/class.llms.admin.reporting.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.36.3 Fixed sanitization for input data array.
3.35.0 Sanitize input data.
3.32.0 The output_event() method now outputs the student's avatar whent in 'membership' context.
3.31.0 Fix redundant if statement in the output_widget method.
3.2.0 Introduced.

Top ↑

Methods Methods

  • __construct — Constructor
  • get_current_courses — Get array of course IDs selected according to applied filters.
  • get_current_memberships — Get array of membership IDs selected according to applied filters.
  • get_current_range — Get the currently selected date range filter
  • get_current_students — Get array of student IDs according to current filters.
  • get_current_tab — Retrieve the current reporting tab
  • get_current_tab_url
  • get_date_end — Get the current end date according to filters
  • get_date_start — Get the current start date according to filters
  • get_dates — Get dates via the current date string
  • get_period_filters — Retrieve an array of period filters used by self::output_widget_range_filter()
  • get_stab_url — Get the full URL to a sub-tab within a reporting screen.
  • get_tab_cap — Get the WP capability required to access a reporting tab Defaults to 'view_lifterlms_reports' -- most reports implement additional permissions within the view Sales & Enrollments tab require 'view_others_lifterlms_reports' b/c they don't add any additional filters within the view
  • get_tabs — Get an array of tabs to output in the main reporting menu.
  • get_template_data — Retrieve an array of data to pass to the reporting page template
  • includes — Include all required classes & files for the Reporting screens
  • output — Output the reporting screen html
  • output_event — Output the HTML for a postmeta event in the recent events sidebar of various reporting screens.
  • output_widget — Output the HTML for a reporting widget
  • output_widget_range_filter — Output a range filter select Used by overview data tabs

Top ↑

User Contributed Notes User Contributed Notes

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