Collections functions
General functions
Render functions
Theme permission functions
Resource functions

get_custom_access_user()

Parameters

ColumnTypeDefaultDescription
$resource
$user

Location

include/resource_functions.php lines 4964 to 4967

Definition

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

This article was last updated 30th September 2022 18:05 Europe/London time based on the source file dated 30th September 2022 14:20 Europe/London time.