set_language
set_language
set_language(string $language)
Parameter | Description |
---|---|
$language | The abbreviation of the desired language of the interface of your report. Supported languages are: "en", "de", "ar", "es", "fr" and "it". |
$report = new ReportOptions(SRE_PUBLIC_REPORT);
$report->select_tables(array("items", "items_sales"))
->add_relationship("items", "id", "items_sales", "item_id")
->set_language("fr")
->set_style_name("grey")
->select_all_fields();
$engine = new CustomEngine($report);
$report_path = $engine->create_report();