Embed report output

<< Back to embedding reports

This embeds report output in a page. Reportico allows extra parameters to be passed to suppress elements of the output and also provide criteria parameters to the report.

	$reportico = Yii::app()->getModule('reportico');
	$engine = $reportico->getReporticoEngine();
	$reportico->engine->initial_execute_mode = "EXECUTE";
	$reportico->engine->initial_report = "salestotals.xml";
	$reportico->engine->access_mode = "ONEREPORT";
	$reportico->engine->initial_project = "northwind";
	$reportico->engine->clear_reportico_session = true;
	$reportico->generate();

Monthly Sales

  Output: HTML PDF CSV
Style Table Form
Show Criteria Group Headers Detail Group Trailers Column Headers Graph
 
Country
Customer ANY
Order Date  -
Unable To Continue:
Fatal Error: Methods with the same name as their class will not be constructors in a future version of PHP; reportico_graph has a deprecated constructor
Fatal Error: Methods with the same name as their class will not be constructors in a future version of PHP; pChart has a deprecated constructor
Fatal Error: Methods with the same name as their class will not be constructors in a future version of PHP; pData has a deprecated constructor
Fatal Error: Methods with the same name as their class will not be constructors in a future version of PHP; pCache has a deprecated constructor
Fatal Error: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_pdo has a deprecated constructor
Fatal Error: Methods with the same name as their class will not be constructors in a future version of PHP; ADOPDOStatement has a deprecated constructor
Fatal Error: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_pdo has a deprecated constructor
Main Query - Fatal Error: Methods with the same name as their class will not be constructors in a future version of PHP; reportico_report has a deprecated constructor
Main Query - Fatal Error: Methods with the same name as their class will not be constructors in a future version of PHP; reportico_report_array has a deprecated constructor
Main Query - Fatal Error: Methods with the same name as their class will not be constructors in a future version of PHP; reportico_report_table has a deprecated constructor
Main Query - Fatal Error: Methods with the same name as their class will not be constructors in a future version of PHP; reportico_report_pdf has a deprecated constructor
Main Query - Fatal Error: Methods with the same name as their class will not be constructors in a future version of PHP; reportico_report_html_template has a deprecated constructor
Main Query - Fatal Error: Methods with the same name as their class will not be constructors in a future version of PHP; reportico_report_csv has a deprecated constructor
Main Query - Fatal Error: Methods with the same name as their class will not be constructors in a future version of PHP; reportico_report_json has a deprecated constructor
Notice: A non well formed numeric value encountered