Total Knowledge Projects Jobs Clientele Contact

Course sign-up

Personal tools
From Total Knowledge
(Difference between revisions)
Jump to: navigation, search
(Add paid mode class descriptions)
====Closed course====
====Closed course====
Student cannot request a sign up.
Student cannot request a sign up.
 +
 +
====Behind the scenes====
 +
Internally, the following sequence of steps happens:
 +
* Sign-up request: class_subscription_reserve function is called
 +
* class_subscription_reserve creates a new order (order_create)
 +
* class_subscription_reserve calls mode-specific handler (see [[#class_subscribe_free|Free]], [[#class_subscribe_moderated|Free Moderated]], [[#class_subscribe_paid|Paid]], [[#class_subscribe_paid_moderated|Paid Moderated]])
 +
* UI retrieves order status and amount owed by student
 +
* If amount is non-zero, UI offers student an option to pay, and, once payment is processed, calls "order_paid" and refreshes order status
 +
* If order status is "pending", the student gets the indication he should wait for approval from teacher.
 +
* Teacher gets a list of students who are ready to start studying (their orders are in "pending" state)
 +
* Teacher approves an order: class_subscription_confirm is called.
 +
* Student is ready to study.
 +
=====class_subscribe_free=====
===Signing up class for a course===
===Signing up class for a course===
For the time being any class admin can simply sign up the class for any course. A class can be signed up for any number of courses, even to multiple versions of a same course.
For the time being any class admin can simply sign up the class for any course. A class can be signed up for any number of courses, even to multiple versions of a same course.

Revision as of 16:20, 30 November 2010