\

Namespaces

Bright

Classes

BitbucketTicket12 I PUT THIS LAST 'ZZZ' as it really should be run by itself .
BrightApiTest
BrightApiTestBase
BrightBaseTest
BrightDeprecationTest
BrightEmbedderTest
BrightRealmUserTest
BrightTemplatePackReports
BrightTest
BrightTestFactory
BrightUIFilters
BrightUnauthenticatedTestBase
BrightV1Api
BrightWoocommerceConstants
BrightWoocommerceIntegration
BrightWordpressTest
BrightWPPlugin Add bright auth token to meta tag for Javascript access.
KernlFactory A factory that builds instances of other classes from this library.
LearningPathTest
PluginInfo A container class for holding and transforming various plugin metadata.
PluginInfo_2_0 A container class for holding and transforming various plugin metadata.
PluginUpdate A simple container class for holding information about an available update.
PluginUpdate_2_0 A simple container class for holding information about an available update.
PluginUpdateChecker
PluginUpdateChecker_2_0
SampleTest
SimpleTokenTest
WoocommerceExtensions
WooCommerceTest

Constants

BRIGHT_PLUGIN_SLUG

BRIGHT_PLUGIN_SLUG

Functions

_manually_load_plugin()

_manually_load_plugin() 

bright_curl()

bright_curl(string  $url, string  $method = null, array  $data = null,   $showerrors = false) : String

Parameters

string $url
string $method
array $data
$showerrors

Returns

String —

response data from the curl call

bright_curl_error()

bright_curl_error() 

bright_extract_embed_code()

bright_extract_embed_code(  $embedCode) 

Parameters

$embedCode

bright_fetch_user_attributes()

bright_fetch_user_attributes(  $user, array  $args = array()) 

Parameters

$user
array $args

bright_get_user()

bright_get_user() 

bright_is_boolean_option_set()

bright_is_boolean_option_set(  $option) 

Parameters

$option

bright_learning_paths_load_bright_customization_scripts()

bright_learning_paths_load_bright_customization_scripts() 

bright_learning_paths_load_bright_customization_styles()

bright_learning_paths_load_bright_customization_styles() 

bright_log()

bright_log(  $message,   $doecho = false,   $extra_text = null) 

Parameters

$message
$doecho
$extra_text

bright_menu_woocommerce()

bright_menu_woocommerce() 

bright_register_user_to_course()

bright_register_user_to_course(  $api_key,   $email,   $course) 

Parameters

$api_key
$email
$course

bright_render_as_javascript()

bright_render_as_javascript(  $code) 

Parameters

$code

bright_reset_token()

bright_reset_token() 

Reset the global bright token to null

bright_return_as_javascript()

bright_return_as_javascript(  $code) 

Parameters

$code

bright_run_stored_query()

bright_run_stored_query(  $name,   $params,   $query_scope = nil) 

This file creates a pre-bright 8.0 workalike for Wordpress.

But really don't use these calls. They will be removed .... soon.

Parameters

$name
$params
$query_scope

bright_stop()

bright_stop() 

bright_stub()

bright_stub(  $function) 

Parameters

$function

bright_testing()

bright_testing() 

returns TRUE if we are in test mode

bright_update_user_meta()

bright_update_user_meta(  $field,   $learner) 

Parameters

$field
$learner

bright_woocommerce_activate()

bright_woocommerce_activate() 

bright_woocommerce_determine_quantity_filter()

bright_woocommerce_determine_quantity_filter(  $amount,   $items) 

Parameters

$amount
$items

dump_bright_js_for_footer()

dump_bright_js_for_footer() 

testEcho()

testEcho(  $arg) 

Parameters

$arg