files-shared-code-tce-functions-auth-sql

It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

tce_functions_auth_sql.php

Tags
file

Functions to select topics.

author

Nicola Asuni

since
2006-03-11

Table of Contents

F_select_modules_sql()  : string
Returns a SQL string to select modules accounting for user authorizations.
F_select_subjects_sql()  : string
Returns a SQL string to select subjects accounting for user authorizations.
F_select_module_subjects_sql()  : string
Returns a SQL string to select modules and subjects accounting for user authorizations.
F_select_tests_sql()  : string
Returns a SQL string to select tests accounting for user authorizations.
F_select_executed_tests_sql()  : string
Returns a SQL string to select executed tests accounting for user authorizations.

Functions

F_select_modules_sql()

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

F_select_modules_sql([ $andwhere = '' ]) : string
Parameters
$andwhere : = ''

(string) additional WHERE statements (e.g.: "module_enabled='1'")

Tags
author

Nicola Asuni

since
2010-06-16
Return values
string

sql statement

F_select_subjects_sql()

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

F_select_subjects_sql([ $andwhere = '' ]) : string
Parameters
$andwhere : = ''

(string) additional WHERE statements (e.g.: "subject_enabled='1'")

Tags
author

Nicola Asuni

since
2006-03-12
Return values
string

sql statement

F_select_module_subjects_sql()

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

F_select_module_subjects_sql([ $andwhere = '' ]) : string
Parameters
$andwhere : = ''

(string) additional WHERE statements (e.g.: "subject_enabled='1'")

Tags
author

Nicola Asuni

since
2008-11-28
Return values
string

sql statement

F_select_tests_sql()

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

F_select_tests_sql() : string
Tags
author

Nicola Asuni

since
2006-03-12
Return values
string

sql statement

F_select_executed_tests_sql()

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

F_select_executed_tests_sql() : string
Tags
author

Nicola Asuni

since
2006-06-26
Return values
string

sql statement

 

© 2004-2022 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy