tce_functions_auth_sql.php

Functions to select topics.

Source: shared/code/tce_functions_auth_sql.php

Functions to select topics.

Functions

F_select_executed_tests_sql()

Returns a SQL string to select executed tests accounting for user authorizations.

function F_select_executed_tests_sql(): string

Returns: string: sql statement

Source: shared/code/tce_functions_auth_sql.php:111

F_select_module_subjects_sql()

Returns a SQL string to select modules and subjects accounting for user authorizations.

function F_select_module_subjects_sql(mixed $andwhere = ''): string

Parameters:

  • $andwhere (mixed): (string) additional WHERE statements (e.g.: “subject_enabled=‘1’”)

Returns: string: sql statement

Source: shared/code/tce_functions_auth_sql.php:68

F_select_modules_sql()

Returns a SQL string to select modules accounting for user authorizations.

function F_select_modules_sql(mixed $andwhere = ''): string

Parameters:

  • $andwhere (mixed): (string) additional WHERE statements (e.g.: “module_enabled=‘1’”)

Returns: string: sql statement

Source: shared/code/tce_functions_auth_sql.php:30

F_select_subjects_sql()

Returns a SQL string to select subjects accounting for user authorizations.

function F_select_subjects_sql(mixed $andwhere = ''): string

Parameters:

  • $andwhere (mixed): (string) additional WHERE statements (e.g.: “subject_enabled=‘1’”)

Returns: string: sql statement

Source: shared/code/tce_functions_auth_sql.php:56

F_select_tests_sql()

Returns a SQL string to select tests accounting for user authorizations.

function F_select_tests_sql(): string

Returns: string: sql statement

Source: shared/code/tce_functions_auth_sql.php:93