Embed report in criteria entry mode

<< Back to embedding reports

This embeds a single report allowing user to enter criteria for and run a single report, but without access to the project menu.

	$reportico = Yii::app()->getModule('reportico');
	$engine = $reportico->getReporticoEngine();
	$reportico->engine->initial_execute_mode = "PREPARE";
	$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