Methods |
Description |
---|---|
Core::bp_ld_custom_continue_url_arr() |
Get all the URLs of current course ( lesson, topic, quiz ) |
Core::bp_ld_get_progress_course_percentage() | |
Core::bp_ld_prepare_price_str() | |
Core::certificates_page() |
Display Certificates Page Content in Profile course menu |
Core::certificates_page_content() |
Display Certificates Page Content |
Core::course_page() |
Display Course Page Content in Profile course menu |
Core::courses_page_content() |
Display Courses in My Course Profile Page |
Core::coursesSubMenus() |
Get the courses tab’s sub menu items in group |
Core::get_nav_link() |
Add Menu and Sub menu navigation link for profile menu |
Core::getRequest() |
Get the request from $_POST, $_GET, or $_REQUEST with default fallback |
Core::init() |
Register actions on init |
Core::init() |
Add actions once integration is ready |
Core::init() |
Sub action once dependencies and requirements are checked |
Core::isRequestExists() |
Check if the given request isset |
Core::path() |
Get absolute path from the integration folder |
Core::registerAutoloader() |
Register psr4 autoloader manually |
Core::registerCourseComponent() |
Add Course tab in profile menu |
Core::registerGroupComponent() |
Register BP group extension components based on settings |
Core::registerPluginTemplate() |
Register the path the bp template stack |
Core::registerTemplateStack() |
Add bp template stack so child theme can overwrite template |
Core::reportsSubMenus() |
Get the reports tab’s sub menu items in group |
Core::setup_admin_bar() |
Add Course tab in admin menu |
Core::setup_nav() |
Add Course tab in profile menu |
Core::setup_user_profile_bar() |
Add Menu in Profile section. |
Core::subMenuLink() |
Returns the link to the selected sub menu |
Core::template() |
Load template from the integration folder |
Core::url() |
Get url path from the integration folder |
Courses::__construct() |
Constructor |
Courses::getGroupCourseProgress() |
Get gorup’s course progress |
Courses::getGroupCourses() |
Returns the courses belongs to the group |
Courses::getUserCourseProgress() |
Get user’s course progress |
Courses::getUserCourseViewButtonLabel() |
Returns dynamic label text based on user’s course progress |
Courses::init() |
Add actions once integration is ready |
Courses::showCourseButton() |
Output course link button html |
Courses::showGroupProgress() |
Output group course progress html |
Courses::showUserProgress() |
Output user course progress html |
CoursesReportsGenerator::__construct() |
Constructor |
CoursesReportsGenerator::columns() |
Returns the columns and their settings |
CoursesReportsGenerator::formatData() |
Format the activity results for each column |
Dependencies::__construct() |
Constructor |
Dependencies::appendDependencyChecker() |
Check if the required dependencies are all init |
Dependencies::dependencyChecker() |
Run sub action based on depencency init status |
Dependencies::dependencyLoaded() |
Set a flag when dependency is init |
Dependencies::getLoadedDepencencies() |
Get the dependencies that are loaded successfully |
Dependencies::getMissingDepencencies() |
Check if any dependencies is missing |
Dependencies::registerHooks() |
Add hook to each dependencies’ init hook |
Drupal7::__construct() |
Main Constructor |
Drupal7::authenticate_pass() |
This method is to take the pass out of the database and compare to a pass the user has typed in. |
Drupal7::callback_savepass() |
This method is to save the salt and password together. That way when we authenticate it we can get it out of the database as one value. Array values are auto sanitized by WordPress. |
Drupal7::callback_sticky_status() |
Translate the topic sticky status type from Drupal v7.x numeric’s to WordPress’s strings. |