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 5th May 2024 17:35 Europe/London time based on the source file dated 3rd May 2024 14:45 Europe/London time.