KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Pass data to view. #522

Open Avraham Markov opened this topic on on Nov 19, 2018 - 2 comments

Avraham Markov commented on Nov 19, 2018

Hi, I have played a bit with examples, currently trying to integrate into my laravel project. I have MyReport.php and myReport.view.php as in https://www.koolreport.com/forum/topics/147 Q: How can I pass variables/data MyReport.php to myReport.view.php ? As I do from controller to view. Thanks

Avraham Markov commented on Nov 19, 2018

I got help, actually I can use $this inside myReport.view.php and all MyReport.php fields will be available. Yet that's only if they are inside same folder, and if not?

paulo commented on Oct 10, 2019

Hi, how did you pass value to the view? I tried $this and it didn't work. thank you

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

Laravel