authen
.public
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
fn_system_config_js
Parameters
Name
Type
Mode
prop_id
integer
IN (DEFAULT NULL)
prop_code
citext
IN (DEFAULT NULL)
Definition
begin case when (prop_id is null and prop_code is null) then return '{}'; when (prop_id is not null and prop_code is null) then prop_code = (select code from property where id = $1); when (prop_code is not null and prop_id is null) then prop_id = (select id from property where code = $2); end case; return jsonb_build_object( 'printform_info', (sp_get_printform_list_js($2)->0->'print_form')::jsonb, 'session_timeout', FN_GET_CONFIG($1, 'SESSION_TIMEOUT', '@SYSTEM'), 'pass_policy', fn_get_password_json($1), 'system_params', fn_prop_params_js($1) ); end