|
Learning with Texts - Fork 2.4.0-fork
Learn foreign languages with texts
|
Change status of term while testing. More...
Namespaces | |
| namespace | Lwt |
Functions | |
| do_set_test_status_html ($status, $oldstatus, $newscore, $oldscore) | |
| set_test_status_change_progress ($stchange) | |
| do_set_test_status_javascript ($wid, $status, $stchange) | |
| do_set_test_status_content ($wid, $status, $oldstatus, $stchange) | |
| start_set_text_status () | |
Change status of term while testing.
Call: set_test_status.php?wid=[wordid]&stchange=+1/-1 set_test_status.php?wid=[wordid]&status=1..5/98/99
| do_set_test_status_content | ( | $wid, | |
| $status, | |||
| $oldstatus, | |||
| $stchange | |||
| ) |
Make the page content of the word status page.
| int | $wid | Word ID |
| int | $status | New learning status for the word |
| int | $oldstatus | Previous learning status |
| int | $stchange | -1, 0, or 1 if status is rising or not |
@global string $tbpref Database table prefix
| do_set_test_status_html | ( | $status, | |
| $oldstatus, | |||
| $newscore, | |||
| $oldscore | |||
| ) |
Echo the page HTML content when setting word status.
| int | $status | New learning status for the word |
| int | $oldstatus | Previous learning status |
| int | $newscore | New score for the word |
| int | $oldscore | Previous score |
| do_set_test_status_javascript | ( | $wid, | |
| $status, | |||
| $stchange | |||
| ) |
Make the JavaScript action for setting a word status.
| int | $wid | Word ID |
| int | $status | New learning status for the word |
| int | $stchange | -1, 0, or 1 if status is rising or not |
| set_test_status_change_progress | ( | $stchange | ) |
Increment the session progress in learning new words.
| int | $stchange | -1, 0, or 1 if status is rising or not |
| start_set_text_status | ( | ) |
Start the word status set page.
@global string $tbpref Database table prefix