|
Learning with Texts - Fork 2.4.0-fork
Learn foreign languages with texts
|
Start a test (frameset) More...
Namespaces | |
| namespace | Lwt |
Functions | |
| get_l2_language_name () | |
| get_test_property () | |
| do_test_mobile_page_content ($property) | |
| do_test_mobile_page ($property) | |
| do_test_desktop_page ($property) | |
| do_test_page ($p) | |
| try_start_test ($p) | |
Start a test (frameset)
Call: do_test.php?lang=[langid] Call: do_test.php?text=[textid] Call: do_test.php?selection=1 (SQL via $_SESSION['testsql']) Call: do_test.php?type=table for a table of words Call: do_test.php?type=[1-5] for a test of words.
| do_test_desktop_page | ( | $property | ) |
Make the desktop test page
| string | $property | URL property for HEADER |
| do_test_mobile_page | ( | $property | ) |
Make the mobile test page.
| string | $property | URL property for HEADER |
| do_test_mobile_page_content | ( | $property | ) |
Make the content of the mobile page.
| string | $property | URL property |
| do_test_page | ( | $p | ) |
Start the test page.
| string | $p | Some property to add to the URL of do_test_test.php. |
| get_l2_language_name | ( | ) |
Find the L2 language name.
@global string $tbpref Database table prefix
| get_test_property | ( | ) |
Find the appropiate property to add to the test. It uses requests provided to the page.
| try_start_test | ( | $p | ) |
Main function to try to start a test page.
If unsifficiant arguments are provided to the page, the page will be redirected to edit_texts.php.