Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

get_usergroup_tile()

Description

Get usergroup_dash_tile record

Parameters

ColumnTypeDefaultDescription
$tile_id integer
$user_group_id integer

Return

array

Location

include/dash_functions.php lines 845 to 855

Definition

 
 
function get_usergroup_tile($tile_id$user_group_id)
    {
    
$return sql_query("SELECT * FROM usergroup_dash_tile WHERE dash_tile = '" escape_check($tile_id) . "' AND usergroup = '" escape_check($user_group_id) . "'");

    if(
count($return))
        {
        return 
$return[0];
        }

    return array();
    }

This article was last updated 10th July 2020 21:05 Europe/London time based on the source file dated 24th June 2020 14:38 Europe/London time.