Public Member Functions | |
setSetId ($setid) | |
setSetName ($setname) | |
setSetDescription ($description) | |
addQuestion ($question) | |
getSetId () | |
getSetDescription () | |
getSetName () | |
getQuestions () | |
newQuestion ($question, $connection) | |
getQuestionById ($questionid) | |
deleteSet ($connection) | |
updateSetDescription ($description, $connection) | |
updateSetName ($name, $connection) | |
A cardset is a stock of questions It's like you've some papers and, on the backside a answer, on the front the question. This is the stock of these.
cardSet::addQuestion | ( | $question | ) |
Add a question to the set (but not to the database)
Question | $question |
cardSet::getSetDescription | ( | ) |
getter for the set-description
cardSet::getSetId | ( | ) |
getter for the set-id
cardSet::getSetName | ( | ) |
getter for the set-name
cardSet::newQuestion | ( | $question, | |
$connection | |||
) |
Create a new question
question | $question | |
unknown_type | $connection |
cardSet::setSetDescription | ( | $description | ) |
Set the description of the set
String | $description |
cardSet::setSetId | ( | $setid | ) |
set the id
int | $setid |
cardSet::setSetName | ( | $setname | ) |
Set the name of the set
String | $setname |