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 5294 to 5297

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 January 2023 09:05 Europe/London time based on the source file dated 26th January 2023 19:05 Europe/London time.