Project Report Criteria



The prepare() method presents the report criteria entry and output selection screen. This presents defined criteria filters defined in the report and provides access to page settings and the report description.



<?php
      \Reportico\Engine\Builder
::build()
          ...
          ->
project("project")
          ->
load("reportfile")
          ->
prepare();
?>
1


In the example below, we load the tutorials project and present the stock report in criteria entry mode

Run Demo


<?php

      
require_once(__DIR__ .'/../vendor/autoload.php');
      

      
\Reportico\Engine\Builder::build()
          ->
properties([ "bootstrap_preloaded" => true])
          ->
properties(["projects_folder" =>  __DIR__."/../projects"])
          ->
project     ("tutorials")
          ->
load     ("stock")
          ->
prepare();
?>