Class Sensei_Emails
Transactional Emails Controller
Sensei Emails Class which handles the sending emails and email templates. This class loads in available emails.
public
|
|
public
|
|
public
array
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
string
|
|
public
|
|
public
|
|
public
|
|
public
|
#
learner_graded_quiz( $user_id, $quiz_id, $grade, $passmark )
Send email to learner on quiz grading (auto or manual) |
public
|
#
learner_completed_course( $status = 'in-progress', $user_id = 0, $course_id = 0, $comment_id = 0 )
Send email to learner on course completion |
public
|
#
teacher_completed_course( $status = 'in-progress', $learner_id = 0, $course_id = 0, $comment_id = 0 )
Send email to teacher on course completion |
public
|
#
teacher_started_course( $learner_id = 0, $course_id = 0 )
Send email to teacher on course beginning |
public
|
|
public
|
#
teacher_quiz_submitted( integer $learner_id = 0, integer $quiz_id = 0, integer $grade = 0, integer $passmark = 0, string $quiz_grade_type = 'manual' )
Send email to teacher on quiz submission |
public
|
#
teacher_new_message( $message_id = 0 )
Send email to teacher when a new private message is received |
public
|
#
new_message_reply( $comment, $message )
Send email to a user when their private message receives a reply |
public
array
|
$emails
Array of email notification classes. |