Collections functions
General functions
Render 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 914 to 924

Definition

 
 
function get_usergroup_tile($tile_id$user_group_id)
    {
    
$return ps_query("SELECT ref, usergroup, dash_tile, default_order_by, order_by FROM usergroup_dash_tile WHERE dash_tile = ? AND usergroup = ?", ['i'$tile_id'i'$user_group_id]);

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

    return array();
    }

This article was last updated 25th September 2022 00:35 Europe/London time based on the source file dated 24th August 2022 16:05 Europe/London time.