portal/include/utils/user_utils.php
Functions
updateAllUserPrefs(
$key, $new_value, $sub_key
=
'', $is_value_array
=
false, $unset_value
=
false
)
:
void
function that updates every user pref with a new key value supports 2 levels deep, use append to array if you want to append the value to an array
Parameters
Name | Type | Description |
---|---|---|
$key | ||
$new_value | ||
$sub_key | ||
$is_value_array | ||
$unset_value |