Collections functions
General functions
Render functions
Theme permission functions
Resource functions

get_config_option_users()

Description

Get all user refs with a specific configuration option set from database

Parameters

ColumnTypeDefaultDescription
$option string Parameter name
$value string Parameter value

Return

array Array of user references

Location

include/config_functions.php lines 223 to 227

Definition

 
function get_config_option_users($option,$value)
    {
    
$users ps_array("SELECT user value FROM user_preferences WHERE parameter = ? AND value=?",array("s",$option,"s",$value), "preferences");
    return 
$users;   
    }

This article was last updated 29th January 2023 09:35 Europe/London time based on the source file dated 29th December 2022 11:50 Europe/London time.