Show a Report Project Menu



The menu() method presents the report project menu and allows user access to all reports saved within the project folder. There must already have been a report created from the Reportico Administration menu and reports created in the designer.



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


In the example below, we load the tutorials project and present the menu

Run Demo


<?php

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

      \
Reportico\Engine\Builder::build()
          ->
properties([ "bootstrap_preloaded" => true])
          ->
properties([ "jquery_preloaded" => false])
          ->
properties([ "embedded_report" => true])
          ->
properties(["projects_folder" =>  __DIR__."/../projects"])
          ->
project     ("tutorials")
          ->
menu();
?>