Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

get_custom_access_user()

Parameters

ColumnTypeDefaultDescription
$resource
$user

Location

include/resource_functions.php lines 4569 to 4572

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 15th July 2020 04:05 Europe/London time based on the source file dated 13th July 2020 14:40 Europe/London time.