Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video 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 869 to 879

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 2nd December 2020 00:35 Europe/London time based on the source file dated 3rd November 2020 16:55 Europe/London time.