File: bp-integrations/learndash/library/ReportsGenerator.php |
Description |
---|---|
ReportsGenerator::hasArg() |
Check if the given argument is passed from request |
ReportsGenerator::addCourseTitleActivityFields() |
Add course name to sql fields |
ReportsGenerator::addCourseTitleActivityTables() |
Add course table to sql joins |
ReportsGenerator::addCourseTitleActivityWhere() |
Add activity check on sql where |
ReportsGenerator::addCourseTitleActivityGroup() |
Add placeholder where statement |
ReportsGenerator::maybeAddActivityGroupBy() |
Replace placeholder where with gorup by statement |
ReportsGenerator::includeCourseTimeSpent() |
Add course time spent to sql statement |
ReportsGenerator::getColumns() |
Get the table columns |
ReportsGenerator::getData() |
Get the results data |
ReportsGenerator::getPager() |
Get the pagination info |