Collections functions
Encryption functions
General functions
Theme permission functions
Resource functions

get_resource_table_joins()

Parameters

This function accepts no parameters.

Location

include/resource_functions.php lines 7887 to 7927

Definition

 
function get_resource_table_joins(){

    global 
    
$rating_field,
    
$sort_fields,
    
$thumbs_display_fields,
    
$list_display_fields,
    
$data_joins,
    
$metadata_template_title_field,
    
$view_title_field,
    
$date_field,
    
$config_sheetlist_fields,
    
$config_sheetthumb_fields,
    
$config_sheetsingle_fields;

    
$joins=array_merge(
    
$sort_fields,
    
$thumbs_display_fields,
    
$list_display_fields,
    
$data_joins,
    
$config_sheetlist_fields,
    
$config_sheetthumb_fields,
    
$config_sheetsingle_fields,
        array(
        
$rating_field,
        
$metadata_template_title_field,
        
$view_title_field,
        
$date_field)
    );
    
$additional_joins=hook("additionaljoins");
    if (
$additional_joins$joins=array_merge($joins,$additional_joins);
    
$joins=array_unique($joins);
    
$n=0;
    foreach (
$joins as $join){
        if (
$join!=""){
            
$return[$n]=$join;
            
$n++;
            }
        }
    return 
$return;
    }

This article was last updated 10th July 2020 00:05 Europe/London time based on the source file dated 8th July 2020 11:40 Europe/London time.