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 5032 to 5035

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 18th May 2021 00:05 Europe/London time based on the source file dated 11th May 2021 10:25 Europe/London time.