Start a test (frameset)
More...
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.
PHP version 8.1
◆ do_test_desktop_page()
do_test_desktop_page |
( |
|
$property = null | ) |
|
Make the desktop test page
- Parameters
-
string | $property | Unnused, null by default |
- Returns
- void
◆ do_test_mobile_page()
do_test_mobile_page |
( |
|
$property = null | ) |
|
Make the mobile test page.
- Parameters
-
string | $property | Unnused, null by default |
- Returns
- void
- Since
- 2.6.0-fork Function rewrote and no longer deprecated
◆ do_test_mobile_page_content()
do_test_mobile_page_content |
( |
|
$property | ) |
|
Make the content of the mobile page.
- Parameters
-
string | $property | URL property |
- Returns
- void
- Deprecated:
- Use do_frameset_mobile_page_content instead
◆ do_test_page()
Start the test page.
- Parameters
-
- Since
- 2.2.1 The $mobile parameter is no longer required.
-
2.6.0 Mobile interface is back and self-set.
-
2.7.0 Adds a CSS rule to auto-enlarge the body.
- Returns
- void
◆ get_l2_language_name()
Find the L2 language name.
- Returns
- string 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.
- Returns
- string Some URL property
◆ try_start_test()
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.