Coding standards
Security in ResourceSpace
Developer reference
Database
Action functions
Admin functions
Ajax functions
Annotation functions
API functions
Collections functions
Comment functions
Config functions
CSV export functions
Dash functions
Debug functions
Encryption functions
Facial recognition functions
File functions
General functions
Language functions
Log functions
Login functions
Message functions
Migration functions
Node functions
PDF functions
Plugin functions
Render functions
Reporting functions
Request functions
Research functions
Slideshow functions
Theme permission functions
User functions
Video functions
Database functions
Metadata functions
Resource functions
Search functions
Map functions
Job functions
Tab functions
Test 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 14th December 2024 11:05 Europe/London time based on the source file dated 12th December 2024 19:40 Europe/London time.