PaferaPy Async 0.1
ASGI framework focused on simplicity and efficiency
|
Classes | |
class | learn_card |
Represents a flashcard, which is the basic unit that the Pafera Learning System is based upon. More... | |
Functions | |
def | GetAllCards (g, card) |
This function returns all child cards given a parent card. More... | |
def | GetCardTitles (g, lessonids) |
This is a convenience function to get all titles for a given set of cardids. More... | |
def | UpdateAllowedCards (g, obj) |
In order to facilitate teachers being able to create and sell courses on our website, we check which cards a student is able to see and deny access to anyone who has not joined the proper course. More... | |
Variables | |
int | CARD_ANSWER = 0x20 |
int | CARD_ASIDE = 0x8 |
int | CARD_CHILD = 0x1 |
int | CARD_COURSE = 0x1 |
int | CARD_LESSON = 0x4 |
int | CARD_LINK_EXAM_PROBLEM = 0x4 |
int | CARD_LINK_PROBLEM = 0x1 |
int | CARD_LINK_QUIZ_PROBLEM = 0x2 |
int | CARD_LINK_TEST_PROBLEM = 0x3 |
int | CARD_PRIVATE = 0x40 |
int | CARD_PROBLEM = 0x10 |
dictionary | CARD_TYPES |
int | CARD_UNIT = 0x2 |
def learn.card.GetAllCards | ( | g, | |
card | |||
) |
def learn.card.GetCardTitles | ( | g, | |
lessonids | |||
) |
def learn.card.UpdateAllowedCards | ( | g, | |
obj | |||
) |
dictionary learn.card.CARD_TYPES |