Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

get_custom_access_user()

Parameters

ColumnTypeDefaultDescription
$resource
$user

Location

include/resource_functions.php lines 4933 to 4936

Definition

 
function get_custom_access_user($resource,$user)
    {
    return 
sql_value("select access value from resource_custom_access where resource='$resource' and user='$user' and (user_expires is null or user_expires>now())",false);
    }

This article was last updated 25th November 2020 08:35 Europe/London time based on the source file dated 13th November 2020 16:50 Europe/London time.