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

get_report_name()

Parameters

ColumnTypeDefaultDescription
$report

Location

include/reporting_functions.php lines 4 to 13

Definition

 
function get_report_name($report)
{
    
# Translates or customizes the report name.
    
$customName hook('customreportname''', array($report));
    if (
$customName) {
        return 
$customName;
    }

    return 
lang_or_i18n_get_translated($report["name"], "report-");
}

This article was last updated 22nd July 2024 21:35 Europe/London time based on the source file dated 1st July 2024 14:45 Europe/London time.