PaferaPy Async 0.1
ASGI framework focused on simplicity and efficiency
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
card.py File Reference

Go to the source code of this file.

Classes

class  learn.card.learn_card
 Represents a flashcard, which is the basic unit that the Pafera Learning System is based upon. More...
 

Namespaces

namespace  learn
 
namespace  learn.card
 

Functions

def learn.card.GetAllCards (g, card)
 This function returns all child cards given a parent card. More...
 
def learn.card.GetCardTitles (g, lessonids)
 This is a convenience function to get all titles for a given set of cardids. More...
 
def learn.card.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 learn.card.CARD_ANSWER = 0x20
 
int learn.card.CARD_ASIDE = 0x8
 
int learn.card.CARD_CHILD = 0x1
 
int learn.card.CARD_COURSE = 0x1
 
int learn.card.CARD_LESSON = 0x4
 
int learn.card.CARD_LINK_EXAM_PROBLEM = 0x4
 
int learn.card.CARD_LINK_PROBLEM = 0x1
 
int learn.card.CARD_LINK_QUIZ_PROBLEM = 0x2
 
int learn.card.CARD_LINK_TEST_PROBLEM = 0x3
 
int learn.card.CARD_PRIVATE = 0x40
 
int learn.card.CARD_PROBLEM = 0x10
 
dictionary learn.card.CARD_TYPES
 
int learn.card.CARD_UNIT = 0x2