Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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 903 to 913

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 26th April 2024 16:35 Europe/London time based on the source file dated 25th April 2024 16:15 Europe/London time.