\BrightV1Api

Summary

Methods
Properties
Constants
is_user_registered_to_course()
add_learner_to_invitation()
create_invitation()
_get_api_key()
register_user_to_course()
fetch_bright_realm_key()
json_encode_unicode()
json_cb()
my_json_encode()
realm_user_gcustom()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

is_user_registered_to_course()

is_user_registered_to_course(  $course_id,   $use_cache = true) 

Parameters

$course_id
$use_cache

add_learner_to_invitation()

add_learner_to_invitation(  $learner_id,   $invitation_name,   $nodelay = false) 

Parameters

$learner_id
$invitation_name
$nodelay

create_invitation()

create_invitation(array  $params = array()) 

Parameters

array $params

_get_api_key()

_get_api_key(  $email) 

Parameters

$email

register_user_to_course()

register_user_to_course(  $api_key,   $user_email,   $course,   $first_name = null,   $last_name = null) 

Parameters

$api_key
$user_email
$course
$first_name
$last_name

fetch_bright_realm_key()

fetch_bright_realm_key(  $course_provider_id = false) 

Parameters

$course_provider_id

json_encode_unicode()

json_encode_unicode(  $data) 

Parameters

$data

json_cb()

json_cb(  $item,   $key) 

Parameters

$item
$key

my_json_encode()

my_json_encode(  $arr) 

Parameters

$arr

realm_user_gcustom()

realm_user_gcustom(  $learner_id,   $data) 

Parameters

$learner_id
$data