Hello guys
Im using yii2 and php presentation to create powerpoint files.
The point is…
I have a ExportController that has data intructions to make data useful for phppresentation. But it also has grafic instructions to create files and download them.
So ExportController is huge bunch of lines because grafic intructions take a lot of code lines.
What I want to do is to split up grafic instructions from data instructions.
How can I send data from actionConsultar (it is ExportController) to actionGenerar (Im planning it to be in GraficsController).
If you know a better way to do this feel free to comment, all suggestions are welcome.