do_test.php
\file \brief 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
Tags
Table of Contents
Functions
- get_l2_language_name() : string
- Find the L2 language name.
- get_test_property() : string
- Find the appropiate property to add to the test.
- do_test_mobile_page_content() : void
- Make the content of the mobile page.
- do_test_mobile_page() : void
- Make the mobile test page.
- do_test_desktop_page() : void
- Make the desktop test page
- do_test_page() : void
- Start the test page.
- try_start_test() : void
- Main function to try to start a test page.
Functions
get_l2_language_name()
Find the L2 language name.
get_l2_language_name() : string
Tags
Return values
string —Language name
get_test_property()
Find the appropiate property to add to the test.
get_test_property() : string
It uses requests provided to the page.
Return values
string —Some URL property
do_test_mobile_page_content()
Make the content of the mobile page.
do_test_mobile_page_content(string $property) : void
Parameters
- $property : string
-
URL property
Tags
do_test_mobile_page()
Make the mobile test page.
do_test_mobile_page([string $property = null ]) : void
Parameters
- $property : string = null
-
Unnused, null by default
Tags
do_test_desktop_page()
Make the desktop test page
do_test_desktop_page([string $property = null ]) : void
Parameters
- $property : string = null
-
Unnused, null by default
do_test_page()
Start the test page.
do_test_page(string $p) : void
Parameters
- $p : string
-
Unnused.
Tags
try_start_test()
Main function to try to start a test page.
try_start_test(mixed $p) : void
If unsifficiant arguments are provided to the page, the page will be redirected to edit_texts.php.
Parameters
- $p : mixed