tce_functions_test_select.php

Functions to display and select tests.

Source: admin/code/tce_functions_test_select.php

Functions to display and select tests.

Functions

F_isTestOnSSLCerts()

Return true if the selected test is active for the selected SSL Certificate

function F_isTestOnSSLCerts(mixed $test_id, mixed $ssl_id): bool

Parameters:

  • $test_id (mixed): (int) test ID
  • $ssl_id (mixed): (int) SSL Certificate ID

Returns: bool: true/false

Source: admin/code/tce_functions_test_select.php:603

F_select_test()

Display test selection for using F_show_select_test function.

function F_select_test(
    mixed $order_field,
    mixed $orderdir,
    mixed $firstrow,
    mixed $rowsperpage,
    mixed $andwhere = '',
    mixed $searchterms = ''
): true

Parameters:

  • $order_field (mixed): (string) order by column name
  • $orderdir (mixed): (string) oreder direction
  • $firstrow (mixed): (string) number of first row to display
  • $rowsperpage (mixed): (string) number of rows per page
  • $andwhere (mixed): (string) additional SQL WHERE query conditions
  • $searchterms (mixed): (string) search terms

Returns: true

Source: admin/code/tce_functions_test_select.php:34

F_show_select_test()

Display test selection XHTML table.

function F_show_select_test(
    mixed $order_field,
    mixed $orderdir,
    mixed $firstrow,
    mixed $rowsperpage,
    mixed $andwhere = '',
    mixed $searchterms = ''
): false

Parameters:

  • $order_field (mixed): (string) Order by column name.
  • $orderdir (mixed): (int) Order direction.
  • $firstrow (mixed): (int) Number of first row to display.
  • $rowsperpage (mixed): (int) Number of rows per page.
  • $andwhere (mixed): (string) Additional SQL WHERE query conditions.
  • $searchterms (mixed): (string) Search terms.

Returns: false: in case of empty database, true otherwise

Source: admin/code/tce_functions_test_select.php:53

F_show_select_test_popup()

Display user selection XHTML table (popup mode).

function F_show_select_test_popup(
    mixed $order_field,
    mixed $orderdir,
    mixed $firstrow,
    mixed $rowsperpage,
    mixed $andwhere = '',
    mixed $searchterms = '',
    string $cid = 0
): false

Parameters:

  • $order_field (mixed): (string) Order by column name.
  • $orderdir (mixed): (int) Order direction.
  • $firstrow (mixed): (int) Number of first row to display.
  • $rowsperpage (mixed): (int) Number of rows per page.
  • $andwhere (mixed): (string) Additional SQL WHERE query conditions.
  • $searchterms (mixed): (string) Search terms.
  • $cid (string): ID of the calling form field.

Returns: false: in case of empty database, true otherwise

Source: admin/code/tce_functions_test_select.php:350