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 5010 to 5013

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 4th March 2021 10:05 Europe/London time based on the source file dated 2nd March 2021 14:45 Europe/London time.