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

existing_tile()

Parameters

ColumnTypeDefaultDescription
$title
$all_users
$url
$link
$reload_interval
$resource_count
$text ""

Location

include/dash_functions.php lines 303 to 317

Definition

 
function existing_tile($title,$all_users,$url,$link,$reload_interval,$resource_count,$text="")
    {
    
$existing ps_query("SELECT ref FROM dash_tile WHERE url= ? AND link= ? AND title= ? AND reload_interval_secs= ? AND all_users= ? AND resource_count= ? AND txt= ?",
                          [
                            
's'$url,
                            
's'$link,
                            
's'$title,
                            
'i'$reload_interval,
                            
'i'$all_users,
                            
'i'$resource_count,
                            
's'$text
                          
]
                        );
    return isset(
$existing[0]["ref"]);
    }

This article was last updated 21st May 2024 21:35 Europe/London time based on the source file dated 25th April 2024 16:15 Europe/London time.