Collections functions
General functions
Node functions
Render functions
Theme permission functions
User functions
Resource functions

get_custom_access_user()

Parameters

ColumnTypeDefaultDescription
$resource
$user

Location

include/resource_functions.php lines 5421 to 5424

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 19th March 2024 03:05 Europe/London time based on the source file dated 11th March 2024 14:25 Europe/London time.